Description:
This method formats the current field value as an IEEE-standard single-precision (32 bits or 4 bytes) floating-point number. Such a number is comprised of the following bits: 1 for sign, 8 for the exponent, and 23 for the mantissa. The optional parameter specifies the number of decimal places to be formatted with a default of two. An attempt to use Float with a value that has been sized at other than 32 bits will result in an error.
Parameters:
|
[Optional] |
Int |
"Number of places after the decimal point" |
(Default value: 2) |
|
[Optional] |
Str |
String to be appended after number |
|
Example:
FIELD float (Fixed 4) (Float) "Value"