Price range inputted by me was 8.155-10.055. According to the UG, if the input is more than 2 d.p. it will be rounded up to the nearest 2 decimal places. However, when typing the list command, the price range shows 8.15-10.05 which is invalid when rounding up 8.155-10.055. Correct rounding up should be 8.16-10.06.
We should have said that the prices are truncated if more than 2 decimal places. However, prices are usually given to the nearest cent, so it is a minor issue.
Price range inputted by me was
8.155-10.055
. According to the UG, if the input is more than 2 d.p. it will be rounded up to the nearest 2 decimal places. However, when typing thelist
command, the price range shows8.15-10.05
which is invalid when rounding up8.155-10.055
. Correct rounding up should be8.16-10.06
.[original: nus-cs2113-AY2021S2/pe-interim#1263] [original labels: severity.Medium type.FunctionalityBug]