A
Abhinav
asked

Expert
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.
Our Experts
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
Kelish RaiTechnical Content Writer
Abhilekh GautamSystem Engineer
Palistha SinghTechnical Content Writer
Sarthak BaralSenior Content Editor
Saujanya Poudel
Abhay Jajodia
Nisha SharmaTechnical Content Writer
Udayan ShakyaTechnical Content Writer