sycamore::web::js_sys::Math

Function floor

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

The Math.floor() function returns the largest integer less than or equal to a given number.

MDN documentation