Mega Code Archive

 
Categories / PostgreSQL / Math Functions
 

Ln(x)

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=#