StringToFloat

From NWN Lexicon
Revision as of 00:49, 26 August 2012 by Dood (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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