@fakerjs/float
v2.1.1
Published
Float package provides functionality to generate a fake float value.
Maintainers
Readme
Install
$ npm install --save @fakerjs/floatUsage
import float from '@fakerjs/float';
float();
//=> -120920142888.5024
float({min: 0, max: 10});
//=> 7.6913
float({min: 0, max: 10, fixed: 6);
//=> 7.691312Tests
Run tests
npm run testLicense
The MIT License (MIT) Copyright (c) Sergey Romanenko
