Back to functions

log10


logarithm

Calculates the log of a number base 10. Is a direct extension of Math.log10.

Usage: nerdamer("log10(x)")


Parameters

expression x Returns the appropriate value if possible otherwise it returns the function with the simplified expression

Returns

Expression

EXAMPLES:
var x = nerdamer('log10(100)').evaluate();
console.log(x.toString());
x = nerdamer('log10(100000)').evaluate();
console.log(x.toString());
OUTPUT:
Back to functions