StringToFloat

From NWN Lexicon
Jump to navigationJump to search



StringToFloat(string)

Converts a string into a floating point number.

float StringToFloat(
    string sNumber
);

Parameters

sNumber

The string to convert into a float.


Description

Returns the value of sNumber converted from a string into a float.
Returns 0.0 on error.



Version

1.61

See Also

functions: 

StringToInt



 author: Charles Feduke, editor: Lilac Soul