Export (0) Print
Expand All

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.5e−45 to ±3.4e38

7 digits

double

±5.0e−324 to ±1.7e308

15-16 digits

Show:
© 2014 Microsoft