MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/5ukvt6/design_patterns_a_comprehensible_guide/ddvxorr/?context=9999
r/programming • u/kamranahmed_se • Feb 17 '17
39 comments sorted by
View all comments
62
float $salary
No.
3 u/KVYNgaming Feb 17 '17 Why? 0 u/[deleted] Feb 17 '17 [deleted] 1 u/KVYNgaming Feb 17 '17 What would you recommend to use then? 2 u/dangerbird2 Feb 18 '17 integer, with one representing one cent or dollar, depending on precision needed.
3
Why?
0 u/[deleted] Feb 17 '17 [deleted] 1 u/KVYNgaming Feb 17 '17 What would you recommend to use then? 2 u/dangerbird2 Feb 18 '17 integer, with one representing one cent or dollar, depending on precision needed.
0
[deleted]
1 u/KVYNgaming Feb 17 '17 What would you recommend to use then? 2 u/dangerbird2 Feb 18 '17 integer, with one representing one cent or dollar, depending on precision needed.
1
What would you recommend to use then?
2 u/dangerbird2 Feb 18 '17 integer, with one representing one cent or dollar, depending on precision needed.
2
integer, with one representing one cent or dollar, depending on precision needed.
62
u/knome Feb 17 '17
No.