Link to home
Start Free TrialLog in
Avatar of ljanssens
ljanssens

asked on

Decimal separator

Is there a simple way to tell which decimal separator (e.g ' or . ) the system uses?
ASKER CERTIFIED SOLUTION
Avatar of Epsylon
Epsylon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Epsylon
Epsylon

You can also change it if you want:

DecimalSeparator := '.';

DecimalSeparator := ',';
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.