Share this page:

oracle tutorial

Oracle/PLSQL: EXP Function

This Oracle tutorial explains 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 Oracle/PLSQL EXP function is:

exp( number )

Parameters or Arguments

number is the power to raise e to.

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