ThousandSep
Formats a numeric string with thousand separators
"1234567.987" --> "1,234,567.987"
Download

ThousandSep.zip (33 KB)

Bugfix 08/31/03:
- strange results, if the sep string is empty

Functions definition

external "CASL_ThousandSep";

# adds thousand separators to a numeric string
function Format_Thousand_Sep 
(
string the_string, # the numeric string which has to be modified
string the_sep # the Sep-Character, normally ","
) as string ; # returns the modfified string

end_external;
 

  © 2005 Ulrich Riepert / Authorized for posting at CASLSoft.com