Why comparing 0.1 with 0.1 double and 0.1 float (same number) return different results? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why comparing 0.1 with 0.1 double and 0.1 float (same number) return different results?

https://code.sololearn.com/chMS20LYJgL3/?ref=app

13th Jun 2019, 8:59 AM
Taras Piskunov
Taras Piskunov - avatar
1 Answer
+ 1
~ swim ~ Cool, thanks for the answer!
13th Jun 2019, 9:15 AM
Taras Piskunov
Taras Piskunov - avatar