log10

 
 
 

Returns the log base 10 of a number.

float log10(float number)

number is the positive number for which you want the log base 10.

Examples

log10(100)

Returns 2.

log10(10)

Returns 1.