Skip to content

rnd

  • gen_ratio() return true based on the probability defined by the fraction defined by the arguments (i.e. gen_ratio(1,5) returns true 20% of the time)