Share via


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

See Also

Reference

Built-In Types Table (C# Reference)
Integral Types Table (C# Reference)
decimal (C# Reference)

Concepts

C# Programming Guide

Other Resources

C# Reference
Default Values Table (C# Reference)
Formatting Numeric Results Table (C# Reference)
Types Reference Tables (C# Reference)