SysUtils 和 System.SysUtils 中的 DecimalSeparator [英] DecimalSeparator in SysUtils and System.SysUtils
本文介绍了SysUtils 和 System.SysUtils 中的 DecimalSeparator的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在 Delphi XE6 中找到 DecimalSeparator var SysUtils Delphi 7,我试图在 System.SysUtils 中找到,但没有成功.谁能告诉我在Delphi XE6中哪里可以找到她?
I need to find DecimalSeparator var SysUtils Delphi 7, in Delphi XE6 i tried to find in System.SysUtils, but without success. Someone can tell me where to find her in Delphi XE6?
在 Delphi 7 中,它位于 SysUtils.pas 单元的第 618 行:
In Delphi 7 it is located in SysUtils.pas unit, in line 618:
var
CurrencyString: string;
CurrencyFormat: Byte;
NegCurrFormat: Byte;
ThousandSeparator: Char;
DecimalSeparator: Char;
我需要这个变量来将 Delphi 7 的一个组件转换为 XE6
I need this variable to convert a component of Delphi 7 to XE6
推荐答案
我的不好,首先我需要调用FormatSettings
,然后我才能在Delphi的DecimalSeparator
中使用XE6,
My bad, first I needed to call FormatSettings
, and then I can use in DecimalSeparator
in Delphi XE6,
FormatSettings.DecimalSeparator
这篇关于SysUtils 和 System.SysUtils 中的 DecimalSeparator的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文