Previous Page | Next Page

Functions and CALL Routines

EXP Function



Returns the value of the exponential function.
Category: Mathematical

Syntax
Arguments
Details
Examples

Syntax

EXP(argument)


Arguments

argument

specifies a numeric constant, variable, or expression.


Details

The EXP function raises the constant e, which is approximately 2.71828, to the power that is supplied by the argument. The result is limited by the maximum value of a floating-point value on the computer.


Examples

SAS Statements Results
x=exp(1.0);
2.7182818285
x=exp(0);
1

Previous Page | Next Page | Top of Page