Storing money in a decimal column – what precision and scale? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I’m using a decimal column to store money values on a database, and today I was wondering what precision and … Read more

decimal vs double! – Which one should I use and when? [duplicate]

This question already has answers here: When should I use double instead of decimal? (12 answers) Closed 8 years ago. I keep seeing people using doubles in C#. I know I read somewhere that doubles sometimes lose precision. My question is when should a use a double and when should I use a decimal type? … Read more