Difference between revisions of "RandomBetween Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
{{command|cas=true|probability}}
 
{{command|cas=true|probability}}
; RandomBetween[Min Integer, Max Integer]: Generates a random integer between ''min'' and ''max'' (inclusive).
+
; RandomBetween[ <Minimum Integer> , <Maximum Integer> ]: Generates a random integer between ''min'' and ''max'' (inclusive).
 
{{Note|1= See also [[SetSeed Command|SetSeed command]], [[RandomElement Command|RandomElement command]],  [[RandomBinomial Command|RandomBinomial command]], [[RandomNormal Command|RandomNormal command]], [[RandomPoisson Command|RandomPoisson command]], [[RandomUniform Command|RandomUniform command]].}}
 
{{Note|1= See also [[SetSeed Command|SetSeed command]], [[RandomElement Command|RandomElement command]],  [[RandomBinomial Command|RandomBinomial command]], [[RandomNormal Command|RandomNormal command]], [[RandomPoisson Command|RandomPoisson command]], [[RandomUniform Command|RandomUniform command]].}}
 +
 +
{{betamanual|version=4.2|
 +
1=; RandomBetween[ <Minimum Integer> , <Maximum Integer> , <Boolean Fixed> ]
 +
: If <Boolean Fixed> = "true", it generates a random integer between ''min'' and ''max'' (inclusive), which is updated just once (when file is loaded and also when undo/redo).
 +
{{note|Press <F9> to see the difference between those two syntaxes.}}
 +
}}

Revision as of 15:25, 25 June 2012


RandomBetween[ <Minimum Integer> , <Maximum Integer> ]
Generates a random integer between min and max (inclusive).
© 2021 International GeoGebra Institute