@glowyjs/random-float
v1.0.0
Published
Random Float package provides functionality to generate a random float value.
Downloads
1
Maintainers
Readme
Install
$ npm install --save @glowyjs/random-float
Usage
import randomFloat from '@glowyjs/random-float';
randomFloat();
//=> -120920142888.5024
randomFloat(0, 10);
//=> 7.6913
randomFloat(0, 10, 6);
//=> 7.691312
Tests
Run tests
npm run test
License
The MIT License (MIT) Copyright (c) Sergey Romanenko