devela::_dep::web_sys::js_sys::Math

Function fround

Source
pub fn fround(x: f64) -> f32 
Available on crate feature dep_web_sys only.
Expand description

The Math.fround() function returns the nearest 32-bit single precision float representation of a Number.

MDN documentation