Reference for Wiring version 0027+. 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 September 16, 2010 09:16:10pm PDT

Creative Commons License