pub fn log10(x: f64) -> f64
The Math.log10() function returns the base 10 logarithm of a number.
Math.log10()
MDN documentation