Skip to main content

f64_to_usize

Function f64_to_usize 

Source
pub fn f64_to_usize(value: f64) -> usize
Expand description

f64 truncated toward zero into usize, saturating; NaN and negative values are zero.