FloatToTextFmt function
Convert a float value to a string using a given mask.
Declaration
function FloatToTextFmt(Buffer: PChar; Value: Extended; format: PChar;
const FormatSettings: TFormatSettings): IntegerDescription
FloatToTextFmt returns a textual representation of
Value in the memory location pointed to by
Buffer. it
uses the formatting specification in
Format to do this. The
return value is the number of characters that were written in the buffer.
For a list of valid formatting characters, see FormatFloat
Errors
No length checking is performed on the buffer. The buffer should point to enough memory to hold the complete string. If this is not the case, an access violation may occur.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
