Mega Code Archive

 
Categories / PostgreSQL / Math Functions
 

Ln(dp or numeric) natural logarithm

postgres=# postgres=# -- ln(dp or numeric) natural logarithm postgres=# postgres=# select ln(2.0);          ln --------------------  0.6931471805599453 (1 row) postgres=#