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