User Tools

Site Tools


en:public:developer:template_system:tags:miscellaneous:random

This is an old revision of the document!


<#random>

Generates random numbers within a specified range.

Random returns a random number within the range 0 ⇐ X < Range. If Range is not specified, the result is a real-type random number within the range: 0 ⇐ X < 1. ==== Parameters ==== ^ Name ^ Mandatory ^ Description ^ | <html><span style=“color:#008000”>Range</span></html> | no | Random returns a random number within the range 0 ⇐ X < Range | ==== Example ==== <code> <#random range=500> </code> The above example will output (for exemple): <code> 324 </code>

en/public/developer/template_system/tags/miscellaneous/random.1366890999.txt.gz · Last modified: 2013/04/25 15:56 by svanderclock