Floating-Point Types Table (C# Reference)
The following table shows the precision and approximate ranges for the floating-point types.
Type | Approximate range | Precision |
---|---|---|
±1.5e−45 to ±3.4e38 |
7 digits |
|
±5.0e−324 to ±1.7e308 |
15-16 digits |
See Also
Reference
Built-In Types Table (C# Reference)
Integral Types Table (C# Reference)
decimal (C# Reference)
Concepts
Other Resources
C# Reference
Default Values Table (C# Reference)
Formatting Numeric Results Table (C# Reference)
Types Reference Tables (C# Reference)