ln(x): Returns the natural logarithm of x (the inverse of the exp() function) : ln « Math Functions « PostgreSQL






ln(x): Returns the natural logarithm of x (the inverse of the exp() function)

postgres=#
postgres=# -- ln(x): Returns the natural logarithm of x (the inverse of the exp() function)
postgres=#
postgres=# SELECT ln(10.0) AS natural_log;
    natural_log
--------------------
 2.3025850929940457
(1 row)

postgres=#

           
       








Related examples in the same category

1.ln(dp or numeric) natural logarithm
2.ln(exp(10.0))