Floating-point types table (C# Reference)

The following table shows the precision and approximate ranges for the floating-point types.

Type Approximate range Precision
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

See also