Return a random number from given min and max inclusive

random:number(INT $min, INT $max) : INT

random:number(1,10)
#=> 3

random:number(0,1)
#=> 1

random:number(0,0)
#=> 0

random:number(0,100)
#=> 42

random:number(-10,10)
#=> -7

random:number(0,0)
#=> 0

random:number(0, 100)
#=> 100

Copyright ©2013-2022 SunSed®. All rights reserved.