Zum Hauptinhalt springen

Random number

Anatomy

<math:rand var="var" min="int" max="(largest possible integer number)"/>

Description: MATH:RAND generates a random number between a given numeric range.

If the maximum number is omitted, it will range up to the largest possible integer number.

Attributes

NameTypeDescriptionDefined By
varvarResult variable name math:rand
minintMinimum number math:rand
maxintMaximum number math:rand

Results:

BindingTypePredicate
varfloatN/A

Examples

Example

<output>
<math:rand/>
</output>