siewyangzhi / pe

0 stars 0 forks source link

Prices of packages allows more than 2 decimal place #5

Open siewyangzhi opened 2 years ago

siewyangzhi commented 2 years ago

Description: Prices of packages allows for more than 2 decimal place which is not representative of the real world.

Steps to recreate the error: Enter the command add Golfing Trip,2,25/02/2022,26/02/2022,ABC,90.9999999999999999999999999999999999999999,Singapore,30

Expected: Error. The price cannot have more than 2 decimal places.

Actual:

image.png

soc-pe-bot commented 2 years ago

Team's Response

No details provided by team.

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.Low] Originally [severity.Medium]

Reason for disagreement: Allowing more than 2 d.p is potentially a serious problem in real life as this concerns pricing/money and this problem can be potentially compounded if a payment system is introduced. Thus, per the guidelines, this is a medium severity problem instead of a low severity problem.

image.png