pub fn random_float_range(min: f32, max: f32) -> f32Expand description
Generates a random floating-point number within the given range.
§Arguments
min- Af32representing the minimum value of the range.max- Af32representing the maximum value of the range.
§Returns
A f32 representing the generated random number within the given range.
§Example
let random_number = cgl_rs::utils::random_float_range(0.0, 1.0);