random number

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

Posts: 2
Joined: Tue Mar 12, 2013 2:36 pm

random number

Post by sepid » Tue Apr 09, 2013 10:08 pm

Hi there

We need to have a random number being printed inside the email... is there any way I can access the $math library somehow?
So far I have not been able to use such a thing:

Code: Select all

#set($mynumber = $math.random(1, 10))
any help would be appreciated