@nathanfaucett/pseudo_random

pseudo random number generator


Keywords
virt, virt.js
License
MIT
Install
npm install @nathanfaucett/pseudo_random@0.0.2

Documentation

pseudo_random Build Status

pseudo random number generator

var random = new PseudoRandom(Date.now());


random.nextInt(); // 0 - Math.pow(2, 31) - 1 max integer value;
random.nextFloat(); // 0.0 - 1.0