Isn't a string what you want to output? You start with a float and produce a string.
stringResult := format('%f',[myfloat]); You can use precision and width specifiers to more finely control the formatting. Jeremy >I've read the delphi help and it seems this function can only used to format >string. FormatFloat maybe can help too, but I >still not figure out the format >parameter to use to achieve the output that I want. > >Thx anyway ^^ ... How about function Format(const Format: string; const Args: array of const): string; overload; You'll find this in sysutils.pas. Jeremy
<<winmail.dat>>