float IntToFloat(int value)
Converts the supplied integer value into a floating point number.
This function is necessary because implicit conversions in the script are not supported.
Example:
float number = IntToFloat(10);
loads 10.0 into the variable number.
See Also: FloatToInt
|