Open nus-pe-bot opened 2 years ago
A 0 value can still be parsed in with a negative sign
[original: nus-cs2113-AY2122S2/pe-interim#804] [original labels: severity.Medium type.FunctionalityBug]
Thanks for reporting this issue!
If the input is -0 the program should reject or convert it into 0, but this doesn't affect other functionality (like calculating order price).
-0
0
--
A 0 value can still be parsed in with a negative sign
[original: nus-cs2113-AY2122S2/pe-interim#804] [original labels: severity.Medium type.FunctionalityBug]