delphi - SysUtils 和 System.SysUtils 中的 DecimalSeparator

标签 delphi components vcl

我需要找到 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/

相关文章:

delphi - 当文字很长时如何在delphi中插入

javascript - AngularJS,从指令迁移到组件

delphi - Delphi中使用Frames进行GUI信息隐藏

delphi - C++ Builder 和 chm 帮助文件

delphi - 修改系列点时是否可以仅重新绘制 TeeChart 的一个区域?

delphi - Delphi for QA 的免费内存检测工具

listview - 从内存中清除动态 FMX ListView 位图

delphi - 在 Lazarus 和 Delphi 之间进行选择的预定义符号

delphi - 在单独的设计时包中重写组件创建构造函数

javascript - Svelte 组件可以访问 DOM 元素来获取其槽内容吗?