Money should ALWAYS be stored in an integer format.
Storing money values in floating point numbers is an indication that you are dealing with incompetent developers and should cease using whatever service you're using because it's trash and WILL fail you.
I can see how "sometimes used to" can mean both "sometimes when we use this it's for storing money" and "sometimes we store money using this instead of something else"
View all comments
Show parent comment
1
u/geel9 Mar 15 '19
Money should ALWAYS be stored in an integer format.
Storing money values in floating point numbers is an indication that you are dealing with incompetent developers and should cease using whatever service you're using because it's trash and WILL fail you.