1.0

Table Of Contents
Numeric to double
DOUBLE [PRECISION] (NumericExpression )
The argument is an expression that returns a value of any built-in numeric
data type.
NumericExpression
The result of the function is a double-precision oating-point number. If the argument can be null, the result can
be null; if the argument is null, the result is the null value. The result is the same number that would occur if the
argument were assigned to a double-precision oating-point column or variable.
Character string to double
DOUBLE (StringExpression )
The argument can be of type CHAR or VARCHAR in the form of a numeric
constant. Leading and trailing blanks in argument are ignored.
StringExpression
The result of the function is a double-precision oating-point number. The result can be null; if the argument is
null, the result is the null value. The result is the same number that would occur if the string was considered a
constant and assigned to a double-precision oating-point column or variable.
EXP function
The EXP function returns e raised to the power of the specied number.
The specied number is the exponent that you want to raise e to. The specied number must be a DOUBLE
PRECISION on page 578 number.
The constant e is the base of the natural logarithms.
The data type of the returned value is a DOUBLE PRECISION number.
Syntax
EXP ( number )
FLOOR function
The FLOOR function rounds the specied number down, and returns the largest number that is less than or equal
to the specied number.
The specied number must be a DOUBLE PRECISION on page 578 number.
If the specied number is NULL, the result of this function is NULL.
If the specied number is equal to a mathematical integer, the result of this function is the same as the specied
number.
If the specied number is zero (0), the result of this function is zero.
The returned value is the largest (closest to positive innity) double oating point value that is less than or equal
to the specied number. The returned value is equal to a mathematical integer. The data type of the returned
value is a DOUBLE PRECISION number.
Syntax
FLOOR ( number )
HOUR function
The HOUR function returns the hour part of a value.
527
SQL Language Reference