Converts a string or arithmetic value to a floating-point arithmetic value, with a specified precision.
Syntax
FLOAT(x,p)
Parameters
x is a string or arithmetic value, and p is an integer representing precision.
Description
The FLOAT function converts a string or arithmetic value x to a floating-point arithmetic value, with a specified precision p. The resulting floating-point arithmetic value is converted according to the rules for type conversion given in the chapter
Data Type Conversions.
Description
The FLOAT function converts a string or arithmetic value x to a floating-point arithmetic value, with a specified precision p. The resulting floating-point arithmetic value is converted according to the rules for type conversion given in the chapter Data Type Conversions.