Wiki source code of Rand
Version 1.1 by Outhman Moustaghfir on 2024/02/20 17:15
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = Introduction = | ||
2 | |||
3 | The Rand function creates a random whole number for various uses. | ||
4 | |||
5 | = Parameters = | ||
6 | |||
7 | * exponent (Type: Double): Determines the range of the random number. A higher exponent means a larger range. | ||
8 | |||
9 | = Return ValueType: = | ||
10 | |||
11 | A whole number randomly generated and rounded. | ||
12 | |||
13 | = Uses = | ||
14 | |||
15 | {{code language="XML"}} | ||
16 | <TEST><xsl:value-of select="ixf:Rand('10')"></xsl:value-of></TEST> | ||
17 | {{/code}} | ||
18 | |||
19 | == Note == | ||
20 | |||
21 | The Rand function provides diverse and unpredictable values. |