- Index
- »
- math
- »
- func:random
def
func:random
random(range: null)
Return random integer within given inclusive range. If range is null, then full range of representative integers is assumed.
Examples:
random() // random num with no range random(0..100) // random num between 0 and 100