Declaration: |
StrToFloat(s: string): real; |
Converts a given string s to a floating-point value. If the string contains an invalid number an exception is raised.
|
Hint: |
Please note that this function always expects a dot as a decimal separator (and not a comma as it is used in some languages).
|
|