The builtin type float32.
The object methods can be used on a float32 variable or value:
string val = 12.0.ToString()
Most things here work just like on float, except with smaller precision.
See the float documentation.
Predefined values are NAN (Not A Number), INF (infinity) and NINF
(negative infinity).
In case of doubt about specific computations, check the documentation for
the C math library.
NOTE: When compiled to Javascript a float32 is stored as a float, since
Javascript only supports float numbers.
|
$Size()
int @public | Return the number of bytes in a float32.
|
|
$ToString()
string @public | Return the number in a short form.
| | |
|