Difference between revisions of "Math.randomseed"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/math|math]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/math|math]]<br/> |
Revision as of 10:00, 3 September 2018
Available since: Gideros 2011.6
Class: math
Description
Sets x as the "seed" for the pseudo-random generator: equal seeds produce equal sequences of numbers.
math.randomseed(seed)
Parameters
seed: (number) seed for random number generator