Skip to main content

f64_to_usize

Function f64_to_usize 

Source
pub fn f64_to_usize(v: f64) -> Result<usize, RError>
Expand description

f64 → usize — truncation toward zero, then check non-negative.