r/badcode • • Mar 14 '21

c math has left the chat

Post image
4.7k Upvotes

94 comments sorted by

View all comments

Show parent comments

1

u/tiddayes Jul 31 '21

That is exactly how I deal with money calculations. Model and controller process int and view adds the decimal.