You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, that was on purpose because it was originally for handling recipe quantities, where negative numbers don't make sense. That's why errors return -1. It was an easy hack.
If you feel like submitting a PR to fix it I'd be happy to consider it. I won't be near a computer for a few days, so if you can wait I may take a look next week some time.
I'm using it under node. It works fine for "8 1/2" and returns 8.5. Using "-8 1/2" it is returning -1. I was expecting "-8.5"
The text was updated successfully, but these errors were encountered: