Why no decimalPlaces option for random.number? What is precision used for?
I now see that there is no such option, it always wraps result with Math.floor.
Please add random.float with min, max and decimalPlaces option ;)
I was just about to make a PR, then by trial and error and some logical deduction figured it out.
'random.number': {min: 1, max: 5, precision: 0.01}
Most helpful comment
I was just about to make a PR, then by trial and error and some logical deduction figured it out.
'random.number': {min: 1, max: 5, precision: 0.01}