nus-cs2103-AY2223S1 / pe-dev-response

0 stars 0 forks source link

Entering an extreme low cap doesn't reflect properly in UI and may cause confusion #1745

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

image.png

I am allowed to parse in 0.00000001 as my cap. However the UI shows that the cap is 0.00. It is confusing to the user because the cap seems to be 0 but it is not.

steps to reproduce: add n/John Doe p/98765432 e/joh2nd@example.com a/311, Clementi Ave 2, #02-25 c/0.00000001/4.00 g/male u/Nanyang Polytechnic gd/05-2024 m/Computer Science ji/173296 jt/Software Engineer Intern t/rejected


[original: nus-cs2103-AY2223S1/pe-interim#2255] [original labels: type.FeatureFlaw severity.Low]

maryjess commented 1 year ago

Team's Response

It is already mentioned in the UG that cap values will be rounded to two decimal places.

image.png

Duplicate status (if any):

--