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 |
See Also
C# Reference
C# Programming Guide
Default Values Table
Built-In Types Table
Integral Types Table
Formatting Numeric Results Table
Reference Tables for Types
decimal


