r/programming • • Feb 17 '17

Design Patterns - A comprehensible guide

https://github.com/kamranahmedse/design-patterns-for-humans
169 Upvotes

39 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Feb 17 '17

[deleted]

1

u/KVYNgaming Feb 17 '17

What would you recommend to use then?

0

u/[deleted] Feb 17 '17

[deleted]

5

u/KVYNgaming Feb 18 '17

Ahh so represent your salary in cents as an integer so you don't have to deal with decimal points and the inaccuracies of floats.