Skip to main content

bound_value

Function bound_value 

Source
pub fn bound_value(value: f64, min: f64, max: f64) -> f64
Expand description

Bound a value to a range