Previous Page | Next Page

Functions and CALL Routines

LOG Function



Returns the natural (base e) logarithm.
Category: Mathematical

Syntax
Arguments
Examples

Syntax

LOG(argument)


Arguments

argument

specifies a numeric constant, variable, or expression.

Range: must be positive.

Examples

SAS Statements Results
x=log(1.0);
0
x=log(10.0);
2.302585093

Previous Page | Next Page | Top of Page