A
last year
Abhinavcountry asked

What is a double variable?

Kelish Rai
Expert
last year
Kelish Rai answered

The double data type is used to store numbers with decimal parts, like 19.5, 7.7, and -10.45. It's very similar to float, but it can hold larger values with more precision.

Since we've already covered this in the Numbers and Text lesson, feel free to go back and have a quick recap.

If you have more questions, just drop them below. I'm happy to help.

C++
This question was asked as part of the Learn C++ Basics course.