Previous Page | Next Page

Functions and CALL Routines

LOG10 Function



Returns the logarithm to the base 10.
Category: Mathematical

Syntax
Arguments
Examples

Syntax

LOG10(argument)


Arguments

argument

specifies a numeric constant, variable, or expression.

Range: must be positive.

Examples

SAS Statements Results
x=log10(1.0);
0
x=log10(10.0);
1
x=log10(100.0);
2

Previous Page | Next Page | Top of Page