Possible Duplicate:
What is the difference between Decimal, Float and Double in C#?
Today I'm wondering about Double
in .Net. I've used it with Int32
the past days and started wondering what the max value is.
The MSDN page for Double.MaxValue says 1.7976931348623157E+308
. I'm pretty sure I'm reading that wrong.
How many bytes does Double
take up (in memory)?
What is the actual maximum number (explain the the E+308)?
Is Double.MaxValue bigger than UInt32
? Bigger than UInt64
?
And while we are at it, what is the difference between Float
and Double
?