Generate A Random Number with Limits

Description

This simple snippet generates a random number between 1 and 5

Code

#set($num1 = 1)
#set($num2 = 5)

#set($choose = $math.random($num1, $num2))
<p> Random Number is $choose</p>