Closed LarryBattle closed 11 years ago
I'm not sure how the random function is going to work.
//???
Ratio.random = function( min, max, wholeNumberOnly ){
var val = (min || 0) + Math.random() * (max||1);????
return Ratio.parse(val);
};
All but random have been added in Ratio version 0.3.6
Done. All four methods added in Ratio-0.3.7.js
Add floor() and ceil(), random(), and makeProper()