log
 
 
 

Returns the natural logarithm of a number, logenumber. The natural logarithm uses the constant e, which is 2.718.

float log(float number)

number is the positive number for which you want the natural logarithm.

Examples

log(10)

Returns 2.303.

log(2.718282845904)

Returns 1.000.