Posted by webmaster Guido on May 24, 2003 at 16:45:22:
In Reply to: *tostr!!! posted by Joey on May 23, 2003 at 22:28:55:
: I was wondering just what i can write to str! And if i can do the following:
: Real tostr
: is there away of doing this function?
A few examples of converting data to a string:
var S: string; begin S := IntToStr(10); // integer to string S := FloatToStr(10.5); // float (real) to string S := FormatFloat('0.00', 10.55); // also float to string // for the format specifiers, see the Delphi Help files ;-) S := DateToStr(Date); // date to string ...
[ DelphiLand: free Delphi source code, tips, tutorials ]