ngneat / falso

All the Fake Data for All Your Real Needs 🙂

Home Page:https://ngneat.github.io/falso/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible random range issue for zero

tbenade opened this issue · comments

Is this a regression?

No

Description

I was expecting a result of 0 for

randNumber({ 0, 0 });

but it returns arbitrary integers. where as

randNumber({ 1, 1 });

would return 1

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in

No response

Anything else?

Thank you great project.

Do you want to create a pull request?

No

@shaharkazaz, please fix it as part of the other fix we discussed.