Hi guys! So today I need to know why...
print(1.001*50-50)
outputs :
0.049999999999997
Why can't it simply output 0.05? I'm working on a game, and I'm using this to display text on the screen, and I think it'll be frustrating if the players just see 0.049999999999997 instead of 0.05.
Any ideas of how to fix this, please? I would really appreciate it! Thanks!
~Pengdoo.

1 comment
Thank you! I'll do just that! Gosh, this is going to save me some trouble. Thanks again!