Link to the YouTube video


Alright. So, you're probably wondering what the difference between the float, the double and the long double is. Well, the float is the least precise, meaning that it can store the least amount of digits. The float can only store six digits to precision. So, that means that we can only store a number with six digits inside of any float variable.

How do you guys understand that? What exactly does that mean?

3 Answers 3


We normally say of precision, not to precision. It is referring to the accuracy of the number. So, 6 digits of precision would be something like .333333


six digits to precision.

precisely 6 digits. But other digits will not guaranteed to be exactly like those 6 digits. Most of the time it will be round up.


In that programming scenario, it means that float can only have 6 digits after the decimal point, an afirmation which seems to be incorrect (programming link)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .