double

noun

say it: “DUB-ul” /ˈdʌbəl/

A C# type for numbers with a decimal point, fast but not exact, used for measurements and science.

What is double in C#?

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

class WeatherReading
{
    double temperature = 72.5;
}

In a sentence

  • “I stored the runner's distance in a double, like 5.25 kilometers.”

Level: Novice · More C# terms at this level

Updated

In other subjects