Why we cannot calculate 0.1 in any programming language by wah maths. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why we cannot calculate 0.1 in any programming language by wah maths.

In any language if we try to calculate 0.1 or something more precise, it can't calculate by simple arthematic signs. Instead of 0.1 it shows 0.1000000000009 or something else.

11th Jul 2020, 7:44 AM
Himanshu Prajapati
Himanshu Prajapati - avatar
1 Answer