|
log()
The
mathematical function
log()
returns the natural logarithm for the parameter "number".
Syntax of the Mathematical Function log()
The parameter "number" of the Mathematical Function log()
number
The parameter "number" is a placeholder for
column names,
variables
or
constants,
which must be of any of these datatypes:
float,
real,
double precision
. Additionally, the parameter recognises any other datatype which can be converted into one of the required datatypes using
implicit conversion
.
Example for the Mathematical Function log()
select log(30)
go
-----
3.401197
Returns 3.401197.
See also:
ASE T-SQL - Aggregate Functions, Mathematical Functions, abs(), acos(), asin(), atan(), atn2(), ceiling(), cos(), cot(), degrees(), exp(), floor(), log10(), pi(), power(), radians(), rand(), round(), sign(), sin(), sqrt(), tan().
|