Reference for Wiring version 0024+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name

log10()

Examples
double c = log10(3);  // Sets c to 0.47
double d = log10(4);  // Sets d to 0.60
Description The log10() function calculates the logarithm of argument x to base 10
Syntax
log10(x)
Parameters
x double, float or int
Returns double
Usage Application
Updated on January 11, 2010 09:58:48pm PST

Creative Commons License