Mega Code Archive

 
Categories / PostgreSQL / Math Functions
 

Log(dp or numeric) base 10 logarithm

postgres=# -- log(dp or numeric) base 10 logarithm postgres=# select log(100.0);         log --------------------  2.0000000000000000 (1 row) postgres=#