jPaq Docs - Math.randomIn()

Quick Stats

Target Platforms:  PC (JScript) and the web (JavaScript)
Download Count:  1030

Summary

Generates a random number.

Parameters

  1. [min] => Number
    Optional. The minimum number that can be returned. The default value is zero.
  2. [max] => Number
    Optional. The returned random number will always be less than this number. The default value is one.

Returns

Number
Returns a number that is greater than or equal to "min" and less than "max".