Floating-point types table (C# Reference)
The following table shows the precision and approximate ranges for the floating-point types.
|float||±1.5 x 10−45 to ±3.4 x 1038||~6-9 digits|
|double||±5.0 × 10−324 to ±1.7 × 10308||~15-17 digits|
|decimal||±1.0 x 10-28 to ±7.9228 x 1028||28-29 digits|
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.