Skip to content

LN

Return the natural logarithm of a number.

LN(number)
premdb=# SELECT LN(101);
       ln        
------------------
 4.61512051684126
(1 row)

premdb=# SELECT LN(seasonid) FROM season;
       ln         
-------------------
                0
 0.693147180559945
  1.09861228866811
  1.38629436111989
   1.6094379124341
  1.79175946922805
  1.94591014905531
  2.07944154167984
...

Parent topic:Mathematical Functions