Schedule 30 minutes with a dotCMS expert who can help answer your questions.
Ready to get your hands dirty? Login into our fully functional online demo.
Are you a developer? Download dotCMS and try it free for 30-days
This simple snippet generates a random number between 1 and 5
#set($num1 = 1)
#set($num2 = 5)
#set($choose = $math.random($num1, $num2))
<p> Random Number is $choose</p>