FLOAT
FLOAT returns the approximate floating-point value of x, with a precision specified by p. The result has the base and mode of x.
- x
- Expression.
- p
- Restricted expression that specifies the minimum number of digits
in the result.
If p is omitted, the precision of the result is determined from the rules for base conversion.
If p is omitted, the default value, 15 for a binary result or 5 for a decimal result, is used.