Comments (1)
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
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)
- Complicated addExpense Command HOT 1
- I can edit expense to 0 HOT 1
- Income is not loaded on restart HOT 1
- Error in Command Component Sequence Diagram HOT 1
- Typo in DG EntryList component UML diagram HOT 1
- EntryList UML diagram has incorrect UML notation HOT 1
- Uneccessary and innacurate information in DG EntryList UML diagram HOT 1
- Incorrect Dependancy arrow in EntryList UML diagram HOT 1
- Wrong arrow notation used in UML diagram for UI HOT 1
- Missing arrow heads in UI UML diagram HOT 1
- UI class diagram errors HOT 1
- Parser class UML class diagram errors HOT 1
- Grammatical error in intro message HOT 1
- Time format differences between commands HOT 1
- Adding spaces to time input to addExpense command results in wrong time format HOT 1
- Categories for addIncome does not fit its use case HOT 1
- Type SALARY of addExpense does not fit its use case HOT 1
- Program crashes do not save data HOT 1
- Decimal places for total Expense is not standardized HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pe.