[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Try to convert a string to a float.
Source position: line 0
function TryStrToFloat( |
const S: String; |
out Value: Single |
):Boolean; |
const S: String; |
out Value: Single; |
const FormatSettings: TFormatSettings |
):Boolean; |
const S: String; |
out Value: Double |
):Boolean; |
const S: String; |
out Value: Double; |
const FormatSettings: TFormatSettings |
):Boolean; |
TryStrToFloat tries to convert the string S to a floating point value, and stores the result in Value. It returns True if the operation was succesful, and False if it failed. This operation takes into account the system settings for floating point representations.
On error, False is returned.
|
Convert a string to a floating-point value. |
lazarus-ccr.sourceforge.net |