RandomDataGenerator#between()

between(min, max) → {number}

Returns a random integer between and including min and max.
This method is an alias for RandomDataGenerator.integerInRange.

Parameters
Name Type Description
min number

The minimum value in the range.

max number

The maximum value in the range.

Returns
number -

A random number between min and max.

Source code: math/RandomDataGenerator.js (Line 198)
doc_phaser
2017-02-14 11:06:43
Comments
Leave a Comment

Please login to continue.