In .net, how do I choose between a Decimal and a Double
Posted
by Ian Ringrose
on Stack Overflow
See other posts from Stack Overflow
or by Ian Ringrose
Published on 2010-03-30T13:33:23Z
Indexed on
2010/03/30
13:43 UTC
Read the original article
Hit count: 230
.NET
|floating-point
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)
© Stack Overflow or respective owner