js_sys::Math

Function log10

source
pub fn log10(x: f64) -> f64
Expand description

The Math.log10() function returns the base 10 logarithm of a number.

MDN documentation