我需要找到 DecimalSeparator var SysUtils Delphi 7,在 Delphi XE6 中我试图在 System.SysUtils 中找到,但没有成功。有人可以告诉我在Delphi XE6中哪里可以找到她吗?
在 Delphi 7 中,它位于 SysUtils.pas 单元中,第 618 行:
var
CurrencyString: string;
CurrencyFormat: Byte;
NegCurrFormat: Byte;
ThousandSeparator: Char;
DecimalSeparator: Char;
我需要这个变量来将 Delphi 7 的组件转换为 XE6
最佳答案
我的错,首先我需要调用FormatSettings
,然后我可以在Delphi XE6中的DecimalSeparator
中使用,
FormatSettings.DecimalSeparator
关于delphi - SysUtils 和 System.SysUtils 中的 DecimalSeparator,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25109497/