Skip to main content

randf

Function randf 

pub fn randf() -> f64
Expand description

Returns a random floating-point value between 0.0 and 1.0 (inclusive).

randf() # Returns e.g. 0.375671