Math.random()

CALC.power(number, power) for the preferred version from the CALC library.

Return a pseudo-random number between 0 and 1. This function is an implementation of the standard JavaScript Math.random() method, and must be used with the Math qualifier, Math.random().

Example

var num = Math.random();  // returns 0.917008, for example