tjiarong / pe

0 stars 0 forks source link

Add Stuff - Insertion and storing of unallowed values #6

Open tjiarong opened 2 years ago

tjiarong commented 2 years ago

image.png

App states that 0 is not allowed, but a insertion of 0.001 was able to get the app to store the salary for staff $0.00

nus-se-script commented 2 years ago

Team's Response

Yes this is a valid point. What actually happens is that salary will still be stored as $0.001, but when staff information is being printed out only the first 2 dp of the salary will be printed out, hence this issue.

However, the team believes that this will only happen in relatively extreme cases, and it has very little impact on the general application itself.

Items for the Tester to Verify

:question: Issue severity

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

Reason for disagreement: [replace this with your explanation]