A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  special characters  sybase-tech-blog


Category: ASE: Functions: Mathematical Functions

log10()

The mathematical function log10() returns the base 10 logarithm for the parameter "number".

Syntax of the Mathematical Function log10()

    log10(number)
    

The parameter "number" of the Mathematical Function log10()

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 log10()

    select log10(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(),
log(),
pi(),
power(),
radians(),
rand(),
round(),
sign(),
sin(),
sqrt(),
tan().