nus-cs2113-AY2223S1 / pe-dev-response

0 stars 0 forks source link

Currency rate shows up as 0.00 #1001

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

The rate added was "0.00001" and "0.00" shows up instead.

image.png

image.png


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

AmethystQ commented 1 year ago

Team's Response

I think it's just different opinions about display. If displayed with too many zeros, some output in the program will be very weird so we round it to two decimals in display. When processing, it still process the original number.

Duplicate status (if any):

--