Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition error in calculating the net cashflow amount #4

Open
nirala-ts opened this issue Nov 8, 2024 · 0 comments
Open

Addition error in calculating the net cashflow amount #4

nirala-ts opened this issue Nov 8, 2024 · 0 comments

Comments

@nirala-ts
Copy link
Owner

Steps to reproduce
Enter the following commands in order:
income Math Tuition /a 45.467 /c SALARY
income English Tuition /a 45.467 /c SALARY
list

Expected Output
Based on the list displayed to the user after entering "list" command, the income from both the tuitions is $45.47. As such, based on the amount shown on the list, the Net Cashflow should have a value of $90.94.

Actual Output
However $90.93 was displayed for the net cashflow. To the user this would act as a discrepancy.

Screenshot
additionError.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant