## Document (emphasis mine) [link](https://docs.rs/rhai-rand/0.1.6/rhai_rand/#rand_floatstart-f64-end-f64---f64) > rand_float(start: f64, end: f64) -> f64 > > Generate a random floating-point number within an ***exclusive*** range. ## Implementation (comment mine) [link](https://github.com/rhaiscript/rhai-rand/blob/master/src/rand.rs#L177) ```rust Ok(rand::thread_rng().gen_range(start..=end)) //inclusive ```