Math::Log10 Math::Log10(x): float Calculates logarithm of given value to base 10. Table 1. Parameters x number Number to calculate logarithm of Return Logarithm of x to base 10. println(Math::Log10(2)); // Will print "0.301030"