This Oracle tutorial explains how to use the Oracle/PLSQL LN function with syntax and examples.
The Oracle/PLSQL LN function returns the natural logarithm of a number.
The syntax for the LN function in Oracle/PLSQL is:
The numeric value used to calculate the natural logarithm. It must be greater than 0.
The LN function returns a numeric value.
The LN function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle LN function examples and explore how to use the LN function in Oracle/PLSQL.
For example: