Giter Site home page Giter Site logo

Comments (1)

nus-pe-script avatar nus-pe-script commented on July 30, 2024

Team's Response

Hi we are aware of the format of total expense, and we tried to resolve it, but due to the limitation of the language, it just display large numbers as such. Initially, we did not restrict the size of the amount that users can enter, this results in rounding off of numbers when adding, and also the issue you pointed out. One way we can resolve it is to limit the size of expense that can be entered, which we already did (limit of 9999999999.99). This solves the rounding off issue, but the number is still displayed as power of 10 format. We were thinking if we want to lower the limit of income / expense that can be entered, but we felt that the tradeoff will be higher, as we are restricting the expenditure of large ticketed items which can cost a lot. Logically, if users are able to spend that much of money (999999999.99), they should be smart enough to know the mathematical notion of E.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

Total Expense format

image.png

The total expenses at the last line seems to be hard for user to interpret and understand, as it displays in power of 10 format.


[original: nus-cs2113-AY2223S2/pe-interim#1520] [original labels: severity.VeryLow type.FeatureFlaw]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

Thanks for pointing it out. We are also aware of this issue, and tried to solve it. But the language just converts the large number on its own, and sometimes round the numbers off if too large a number is entered. Hence we limited the size of the numbers entered to prevent the rounding off problem. But the complier still prints out the numbers in power of 10 format, which we cannot prevent.

Items for the Tester to Verify

❓ Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

  • I disagree

Reason for disagreement: [replace this with your explanation]


❓ Issue response

Team chose [response.NotInScope]

  • I disagree

Reason for disagreement: [replace this with your explanation]


❓ Issue severity

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

  • I disagree

Reason for disagreement: I think it should be severity.Low over very low because it is not a purely cosmetic issue. As a user it would cause minor inconvenience for me to interpret the format stated. Thus it should be severity.low over very low


from pe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.