Usage
Syntax: float(string)
Returns number.
Explanation
For explicitly converting a string to number (normally done automatically though when accessing a string with numeric operators).
Example
function onCreated() { temp.a = float("5"); }
... Will set temp.a to 5, and not "5".
Categories
CategoryFunctionClientside
CategoryFunctionServerside
There are no comments on this page. [Add comment]