Function lotus_script::rand::gen_f64

source ·
pub fn gen_f64() -> f64
Expand description

Generate a random f64 in the range 0 to 1.