-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
734 use decimal for money #737
734 use decimal for money #737
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Some small nits.
Regarding lines 942-971 of the ci log, does the example implementation need updating? c# really doesn't like doing equals(decimal, float) |
It does indeed. |
Made all the requested changes: Updated examples and added that blank line to RenderNumber |
Merged! This is great work. Thanks a lot for doing this. 🎉 |
Updated BankAccount, BookStore and Ledger exercises to use decimal for money instead of float or double.
Updated RenderNumber and Render with decimal rendering.
Updated BookStore test generator to use decimal literals for BookStore tests.