Math387.StrToFloat Method

Double StrToFloat(String S)

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.