Re: Optimized verion of AddThousandSeparator



FormatFloat is an overloaded function and can called with TFormatSettings. In TFormatSettings you can set the ThousandSeparator. This is a threadsave way to override the standard behavior.

That is present in Delphi 2007 but this should compile on D6 also, which don't have it...

-TP-
.