Open awesomesjh opened 6 months ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Inconsistency in number of decimal points taken in for overall commands, and those displayed
For each command that involves numbers the UG does not say about the decimal points that can be input. There is a lack of consistency between features and as a user, I am confused on the accuracy of numbers that I can insert and will be displayed.
list_items
command displays 2dp.
total_revenue
command displays 1dp.
[original: nus-cs2113-AY2324S2/pe-interim#2547] [original labels: type.FunctionalityBug severity.Medium]
[This is the team's response to the above 'original' bug]
Does not impact if 2 decimal place is required for total_revenue
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: The 'Original' bug only shows the inconsistency in dp for list and low_stock commands. The example that I gave shows the inconsistency in dp for profit command. Fixing the inconsistency in dp for list and low_stock commands does not necessarily fix the inconsistency in dp for profit command, which is shown to be more than 2dp. Hence, they cannot be considered as duplicates.
Typically price should be in 2dp, as you have mostly done in the rest of your app, but why is profit multiple dp in this case? Perhaps it would be better to round off to 2dp and notify the user. This is because I previously added an item with multiple dp buy and sell price.