From version < 2.1
edited by Achraf El Kari
on 2024/08/06 13:05
To version 1.1 >
edited by Outhman Moustaghfir
on 2024/02/20 17:15
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -iXPath V3.Functions.XSLT .System.WebHome
1 +iXPath V3.Funcitons.System.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.aelkari
1 +XWiki.omoustaghfir
Content
... ... @@ -4,8 +4,7 @@
4 4  
5 5  = Parameters =
6 6  
7 -* Case 1 (1 param) => exponent (Type: Double): Determines the range of the random number. A higher exponent means a larger range.
8 -* Case2 : (2 param) => Get a random number between two numbers
7 +* exponent (Type: Double): Determines the range of the random number. A higher exponent means a larger range.
9 9  
10 10  = Return ValueType: =
11 11  
... ... @@ -13,19 +13,10 @@
13 13  
14 14  = Uses =
15 15  
16 -Case 1 : Get random number with 10 digits
17 -
18 18  {{code language="XML"}}
19 19  <TEST><xsl:value-of select="ixf:Rand('10')"></xsl:value-of></TEST>
20 20  {{/code}}
21 21  
22 -
23 -Case 2 : Get a random number between 3 and 7
24 -
25 -{{code language="XML"}}
26 -<TEST><xsl:value-of select="ixf:Rand('3','7')"></xsl:value-of></TEST>
27 -{{/code}}
28 -
29 29  == Note ==
30 30  
31 31  The Rand function  provides diverse and unpredictable values.
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian