[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'sysutils' (#rtl) |
Convert a float value to a string using a given mask.
Source position: line 0
function FloatToTextFmt( |
Buffer: PChar; |
Value: Extended; |
format: PChar; |
FormatSettings: TFormatSettings |
):Integer; |
Buffer: PChar; |
Value: Extended; |
format: PChar |
):Integer; |
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
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.
|
Format a float according to a certain mask. |
No notes exist for this page yet.