Math387.StrToFloat Method

function StrToFloat(S: string): Double;

Converts a string to a floating point value.

#NameTypeDescription
1Sstring

Returns: Double

Remarks:

An exception is raised, if the string is not a valid floating point number. The managed and C++ ports' counterpart of SysUtils.StrToFloat, which the other units of the library call.