@glowyjs/random-float

1.0.0 • Public • Published

Random Float

Random Float package provides functionality to generate a random float value.

Version License

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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @glowyjs/random-float

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.34 kB

    Total Files

    4

    Last publish

    Collaborators

    • awilum