Float-to-string conversions

Posted by Ovidiu on June 13, 2001

Is there a way to format a float value into string regardless of the system (win) numerical settings?
ex: if french, ten thousand would be 10.000,00
but I want the value to be formatted as 10000.00 no matter how my system is configurated.

Thank you, Ovidiu

Related Articles and Replies:

Re: Jean Claude Servaye on June 13, 2001

Yes put these 2 lines before your conversion:
DecimalSeparator := ',';
ThousandSeparator := '.';

Hope this helps

Re: remco on June 30, 2001

try using this function


Delphi Forum