check_in_range_inclusive_f64

Function check_in_range_inclusive_f64 

Source
pub fn check_in_range_inclusive_f64(
    value: f64,
    l: f64,
    r: f64,
    param: &str,
) -> Result<()>
Expand description

Checks the f64 value is in range [l, r] (inclusive).

ยงErrors

Returns an error if the validation check fails.