RandomDataGenerator#integerInRange()

integerInRange(min, max) → {number}

Returns a random integer between and including min and max.

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 184)
doc_phaser
2017-02-14 11:06:44
Comments
Leave a Comment

Please login to continue.