[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Convert a string to a float, with a default value.
Source position: sysstrh.inc line 144
function StrToFloatDef( |
const S: String; |
const Default: Extended |
):Extended; |
StrToFloatDeftries to convert the string Sto a floating point value, and returns this value. If the conversion fails for some reason, the value Defaultis returned instead.
None. On error, the Defaultvalue is returned.