You can represent floating point values in C# using either the **float** or **decimal** types.

While **decimal** is more suited to financial calculations due to its smaller range but greater precision, you can use the 32-bit **float** to store absolutely enormous values.

The range of float is **float** from about $latex -3.4 times 10^{38} $ to $latex 3.4 times 10^{38} $.

float temp = 0.3f; Console.WriteLine("Value: {0}", temp);

0.3