Difference between revisions of "RandomBetween Command"
From GeoGebra Manual
Line 6: | Line 6: | ||
{{betamanual|version=4.2| | {{betamanual|version=4.2| | ||
1=; RandomBetween[ <Minimum Integer> , <Maximum Integer> , <Boolean Fixed> ] | 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 | + | : 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 on undo/redo). |
{{note|Press <F9> to see the difference between those two syntaxes.}} | {{note|Press <F9> to see the difference between those two syntaxes.}} | ||
}} | }} |
Revision as of 14:28, 25 June 2012
- RandomBetween[ <Minimum Integer> , <Maximum Integer> ]
- Generates a random integer between min and max (inclusive).
Note: See also SetSeed command, RandomElement command, RandomBinomial command, RandomNormal command, RandomPoisson command, RandomUniform command.
Following text is about a feature that is supported only in GeoGebra 4.2.
Note: Press <F9> to see the difference between those two syntaxes. |