background image
<< ceiling function | concat function >>

floor function

<< ceiling function | concat function >>
Derby Reference Manual
326
Returns e raised to the power of the specified number.
exp(number)
The JDBC escape syntax
{fn exp(number)}
is equivalent to the built-in syntax
EXP(number)
. For more information, see
EXP function
.
floor
Rounds the specified number down, and returns the largest number that is less than
or equal to the specified number.
floor(number)
The JDBC escape syntax
{fn floor(number)}
is equivalent to the built-in syntax
FLOOR(number)
. For more information, see
FLOOR function
.
log
Returns the natural logarithm (base e) of the specified number.
log(number)
The JDBC escape syntax
{fn log(number)}
is equivalent to the built-in syntax
LOG(number)
. For more information, see
LN or LOG function
.
log10
Returns the base-10 logarithm of the specified number.
log10(number)
The JDBC escape syntax
{fn log10(number)}
is equivalent to the built-in syntax
LOG10(number)
. For more information, see
LOG10 function
.
mod
Returns the remainder (modulus) of argument 1 divided by argument 2. The result is
negative only if argument 1 is negative.
mod(integer_type, integer_type)
The JDBC escape syntax
{fn mod(integer_type, integer_type)}
is
equivalent to the built-in syntax
MOD(integer_type, integer_type)
. For more
information, see
MOD function
.
pi
Returns a value that is closer than any other value to pi.
pi()
The JDBC escape syntax
{fn pi()}
is equivalent to the built-in syntax
PI()
. For
more information, see
PI function
.
radians
Converts a specified number from degrees to radians.
radians(number)
The JDBC escape syntax
{fn radians(number)}
is equivalent to the built-in
syntax
RADIANS(number)
. For more information, see
RADIANS function
.
rand
Returns a random number given a seed number.
rand(seed)
The JDBC escape syntax
{fn rand(seed)}
is equivalent to the built-in syntax
RAND(seed)
. For more information, see
RAND function
.