[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Try to convert a string to a float.
Source position: line 0
function TryStrToFloat( |
const S: String; |
var Value: Single |
):Boolean; |
const S: String; |
var Value: Double |
):Boolean; |
TryStrToFloattries to convert the string Sto a floating point value, and stores the result in Value. It returns Trueif the operation was succesful, and Falseif it failed. This operation takes into account the system settings for floating point representations.
On error, Falseis returned.
|
Convert a string to a floating-point value. |