SysUtils和System.SysUtils中的DecimalSeparator [英] DecimalSeparator in SysUtils and System.SysUtils
问题描述
我需要找到DecimalSeparator var SysUtils Delphi 7,在Delphi XE6中,我试图在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 XE6中的DecimalSeparator中使用
My bad, first i needed to call FormatSettings, and then i can use in DecimalSeparator in Delphi XE6,
FormatSettings.DecimalSeparator
FormatSettings.DecimalSeparator
这篇关于SysUtils和System.SysUtils中的DecimalSeparator的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!