LOG10 Function

Returns the logarithm to the base 10.

Categories:Mathematical
CAS
Table of Contents

Syntax

LOG10(argument)

Required Argument

argument

specifies a numeric constant, variable, or expression.

Rangemust be positive.

Example

The following SAS statements produce these results:
SAS Statement
Result
x=log10(1.0);
0
x=log10(10.0);
1
x=log10(100.0);
2
Last updated: March 16, 2017