This article is written about how to use the Oracle/PLSQL EXP function with syntax and examples.
Description
The Oracle/PLSQL EXP function returns e raised to the nth power, where e = 2.71828183.
Syntax
The syntax for the EXP function in Oracle/PLSQL is:
exp( number )
Parameters or Arguments
number
The power to raise e.
Returns
The EXP function returns a numeric value.
Applies To
The EXP function can be used in the following versions of Oracle/PLSQL:
Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i
Example
Let’s look at some Oracle EXP function examples and explore how to use the EXP function in Oracle/PLSQL.
For example:
EXP(3)
Result: 20.0855369231877
EXP(3.1)
Result: 22.1979512814416
EXP(-3)
Result: 0.0497870683678639
Leave a Review