Log10

From Wiring

Jump to: navigation, search


Name log10()
Description The log10() function calculates the logarithm of argument x to base 10
Syntax
log10(x)
Methods
Constructor
Parameters
x unknown datatype double, float or int
Returns double
Example
double c = log10(3);  // Sets c to 0.47
double d = log10(4);  // Sets d to 0.60
Related
Language: English
Personal tools