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