On Wed, Apr 2, 2014 at 12:20 PM, Summer <crazysummer2...@yahoo.com> wrote:
> I am really looking for a way to generate a random number, whole, from 0 - > 100. I look thru the docs, don't see anything. > > You want the Math module. This template snippet will output a whole number between 0 to 99 inclusive: [% USE Math; Math.int(Math.rand(100)) %]
_______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates