Exeexe93 / pe

0 stars 0 forks source link

Should prevent user to input decimal place without unit for the ingredient adding into cart. #6

Open Exeexe93 opened 4 years ago

Exeexe93 commented 4 years ago

Should not allow allows amount without unit to add in decimal. The 1.01 egg is allowed to add into the cart.

image.png

nus-pe-bot commented 4 years ago

Team's Response

This is intended, for example some people may want to add half a watermelon.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: By allowing the two decimal for the user, it would cause great mistake when the user use the applications, I do know that 1/2 watermelon can use as 0.5 watermelon, however, it should only limit to certain unit for example kg, litres, while grams and millilitres and number without unit, should not have decimal, as it is not logical that a user will use 1.01g or 1.01ml or 1.01eggs. Furthermore, the cart could be transfer to the inventory, which will eventually show 1.01eggs, 1.01g and 1.01ml. This will cause the 0.01 eggs to be at the inventory after the eggs are being used out. This will cause the user to realise his/her mistake after he/she used out the eggs, this will cause inconvience to the user.