Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

Delphi …. retrive locale format setting

Digital solution partner

Delphi …. retrive locale format setting

TFormatsettings is record type in Delphi which is used to get or set local information’s like DateTimeFormat, CurrencyFormat, DecimalSeparator etc. wich is declared in System.SysUtils.

For Example you need to retrive your current DecimalSeparator:

If you need to force some local settings for conversions you can do for example:

If you want to change only one setting, starting from a particular configuration you can use the “create” constructor like: