Difference between revisions of "Math.randomseed"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''<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>Description</translate> === | === <translate>Description</translate> === | ||
<translate>Sets x as the "seed" for the pseudo-random generator: equal seeds produce equal sequences of numbers.</translate> | <translate>Sets x as the "seed" for the pseudo-random generator: equal seeds produce equal sequences of numbers.</translate> |
Revision as of 09:29, 24 August 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