Example output:
>> require 'faker'
=> true
>> Faker::Number.number(9)
=> "1077253297"
>> Faker::Number.number(9).length
=> 10
+1 and it looks like @mhutter has the right fix.
I actually closed the PR after I realized there are already #147 #151 and #156 xD
But the bug is still open...
Hmmm, which PR you think is best?
https://github.com/rdallasgray/faker/commit/4b337302098e40172bb0f22d7ca319db1601ac19
?
Actually https://github.com/mlawrie/faker/commit/010ae019128a5212c2e7e8706e6137930887b134 because it removes some redundancy and the tests are pretty nice
This can be closed since the PR is merged.
Most helpful comment
This can be closed since the PR is merged.