[−][src]Function js_sys::Math::abs
pub fn abs(x: f64) -> f64
The Math.abs()
function returns the absolute value of a number, that is
Math.abs(x) = |x|
pub fn abs(x: f64) -> f64
The Math.abs()
function returns the absolute value of a number, that is
Math.abs(x) = |x|