nus-cs2113-AY2122S2 / pe-dev-response

0 stars 0 forks source link

Add Dish - Improper Parsing of Value #935

Open nus-pe-bot opened 2 years ago

nus-pe-bot commented 2 years ago

image.png

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]

botbw commented 2 years ago

Team's Response

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).

Duplicate status (if any):

--