zhixianggg / pe

0 stars 0 forks source link

Finance Tracker: Error in calculation #1

Open zhixianggg opened 5 years ago

zhixianggg commented 5 years ago

add-paid d/astons for lunch a/1000000000000000000000000000000000000001 will not input $1000000000000000000000000000000000000001 but $1000000000000000000000000000000000000000.00 instead.

Also expenses this month will output the wrong value.

Steps to reproduce bug

  1. add-paid d/Astons for lunch a/100000000000000000000000000000000000000

Screenshot 2019-11-15 at 4.34.16 PM.png

  1. add-paid d/astons for lunch a/1000000000000000000000000000000000000001

Screenshot 2019-11-15 at 4.35.07 PM.png

  1. Expenses this month will not show the correct total revenue.

Screenshot 2019-11-15 at 4.35.54 PM.png

nus-pe-bot commented 5 years ago

Team's Response

Noted, however this would unlikely affect normal operations of the product, as the application tracks monthly expenses and it is unlikely a student will have a single purchase with that high of an amount.

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.Low]. Originally [severity.High].

Reason for disagreement: [replace this with your reason]


:question: Issue type

Team chose [type.FeatureFlaw]. Originally [type.FunctionalityBug].

Reason for disagreement: [replace this with your reason]