mdlittle
asked on
Formatting Strings
How do you use the format, Strfmt and Fmtstr functions. I am trying to take a string like this '26000' and convert it to 26,000.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
var
sSomeString: String;
TheNumber: Double;
begin
TheNumber := StrtoFloat('128577');
SomeString := FormatFloat('#,##0', TheNumber);
end;