Home Privacy Policy Feedback Link to us Site Map Forums

Oracle/PLSQL: Ln Function


In Oracle/PLSQL, the ln function returns the natural logarithm of a number.

The syntax for the ln function is:

ln( number )

number must be greater than 0.


Applies To:

  • Oracle 8i, Oracle 9i, Oracle 10g, Oracle 11g

For example:

ln(20) would return 2.99573227355399
ln(25) would return 3.2188758248682
ln(100) would return 4.60517018598809
ln(100.5) would return 4.61015772749913