Created
July 15, 2016 05:32
-
-
Save cooljith91112/3d780e58f41422028ef00b10ec5f4a54 to your computer and use it in GitHub Desktop.
Lodash Random Decimal Numbers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ceil(_.random(1,5, true),2); //Generate Random numbers between 1 & 5 with precision of 2. ex: 4.56 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment