ljanssens
asked on
Decimal separator
Is there a simple way to tell which decimal separator (e.g ' or . ) the system uses?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes. If you wish to change separator within your Delphi application, use DecimalSeparator global variable. But if you wish to redefine SYSTEM decimal separator, then change it in WIN.INI file, section [intl], ident iDECIMAL. Just set it equal to whatever you want.
DecimalSeparator := '.';
DecimalSeparator := ',';