-7
rated 0 times
[
0]
[
7]
/ answers: 1 / hits: 104654
/ 9 Years ago, fri, august 14, 2015, 12:00:00
This one is driving me a little mad, I'm sure it's simple but it doesn't seem to be documented anywhere.
Im using Faker.js and the following to generate my random number:
faker.random.number();
Works great, now if I want to do it between 2 numbers, how would I go about this?
I tried the following:
faker.random.number(10, 50);
However, that just gives me numbers from 0
to 10
. No idea what the 50
is doing.
Can anyone give me some directions to this please.
More From » faker