Changes for page Rand
Last modified by Achraf El Kari on 2024/08/06 13:05
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -iXPath V3.Func tions.XSLT .System.WebHome1 +iXPath V3.Funcitons.System.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.a elkari1 +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.