Zum Hauptinhalt springen

Random number

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

<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

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