Closed Dr-Emann closed 9 years ago
I'm not sure if that's intended behavior or not. Even if allow_zero is intended as a way to optionally allow zero even when the range doesn't include zero, it feels weird not to set allow_zero true anyway.
I'm not sure if that's intended behavior or not.
Nope, allow_zero should be in addition to the range. If 0 is included in the range it shouldn't matter if allow_zero is set or not.
Thanks for the report, I'll fix it ASAP.
Should be fixed now, thanks!
The bad check is on this line.
The following options have a range that includes 0, and allow_zero = false: