HansHengGit / pe

0 stars 0 forks source link

Price input allows user to add a value that has more than 2 dp #2

Open HansHengGit opened 2 years ago

HansHengGit commented 2 years ago

image.png

image.png

As seen in the screenshot, the user can input an amount which has more than 2dp and the application does not provide a warning and allows it to be stored.

nus-pe-script commented 2 years ago

Team's Response

No details provided by team.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

Prices of packages allows more than 2 decimal place

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


[original: nus-cs2113-AY2122S2/pe-interim#211] [original labels: severity.Medium type.FunctionalityBug]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

No details provided by team.

Items for the Tester to Verify

:question: Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

Reason for disagreement: [replace this with your explanation]