parsereal [function]
parsereal( var )
returns a real value, generated from variable var
using the Conversion rules or returns null
on failure
- this function is equivalent to sgs_ParseReal in the C API
parsereal( 5 ); // returns 5.0 parsereal( "3e+2" ); // returns 300.0 parsereal( "0xff" ); // returns 255.0 parsereal( parsereal ); // returns null