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.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License