| Water Contract<method number.integer.random
min =0=number
include_min=true=boolean
include_max=false=boolean/> | |
See also: random, random, random
If subject is integer class, returns 0 or 1 with equal probability.
If subject is an integer, it returns a random integer less than the
subject and greater than or equal to zero.
integer.<random/>
returns 0 or 1
3.<random/>
returns 0, 1, or 2
5.<random 1/>
returns 1, 2, 3, or 4 because include_max defaults to false and
include_min defaults to true 5.<random include_min=true include_max=true/>
min defaults to 0 so this will return 0, 1, 2, 3, 4 or 5.
© Copyright 2007 Clear Methods, Inc.