Function js_sys::Math::log10

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

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

MDN documentation