[−][src]Function js_sys::Math::sign
pub fn sign(x: f64) -> f64
The Math.sign() function returns the sign of a number, indicating whether the number is positive, negative or zero.
pub fn sign(x: f64) -> f64
The Math.sign() function returns the sign of a number, indicating whether the number is positive, negative or zero.