In .net, how do I choose between a Decimal and a Double
- by Ian Ringrose
We were discussing this the other day at work and I wish there was a Stackoverflow question I would point people at so here goes.)
What is the difference between a Double and a Decimal?
When (in what cases) should you always use a Double?
When (in what cases) should you always use a Decimal?
What’s the diver factors to consider in cases that don’t fall into one of the two camps above?
(There a lot of questions that overlap this question, but they tend to be asking what someone should do in a given case, not how to decide in the general case)