Not getting accurate values | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Not getting accurate values

Like for 50% of 100 it's giving 49.90 not 50% https://code.sololearn.com/WyjLBSJa4Twu/?ref=app

6th Jul 2020, 12:12 PM
zexu knub
zexu knub - avatar
4 Answers
6th Jul 2020, 12:38 PM
Arnesh
Arnesh - avatar
+ 2
When you add 0.1, the value of the isn't exactly the number+0.1 https://www.sololearn.com/discuss/2353051/?ref=app
6th Jul 2020, 12:40 PM
Arnesh
Arnesh - avatar
+ 1
Arnesh Thanks
6th Jul 2020, 12:45 PM
zexu knub
zexu knub - avatar
+ 1
Welcome. :-)
6th Jul 2020, 12:46 PM
Arnesh
Arnesh - avatar