Random

A seeded pseudo-random generator

'random random_new() Create a new random with random seed void random_set_seed('random, int) Set the generator seed int random_int('random, max : int) Return a random integer modulo max float random_float('random) Return a random float
Report an issue | Contribute to this page

©2017 Haxe Foundation