# double

A primitive type for numbers that can include a fractional part.

## What is **double** in C#?

**double** — A primitive type for numbers that can include a fractional part.

```csharp
class WeatherReading
{
    double temperature = 72.5;
}
```

Level: Novice · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/novice)

Updated: September 27, 2026

## In other subjects

- [double in Java](https://www.ask-codey.com/glossary/double)

Source: https://www.ask-codey.com/glossary/double-c-sharp
