Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | scooty |
I have the simple code print(3 / 100)
and it outputs 0. What is wrong with this? I’m so baffled.
I think you produced the best title in the history of this forum. The answers below / link to answers are spot on. But for a bit of fun on a semi-related tangent, try putting this into your code somewhere and running it:
printt("Does math work?", 0.1+0.2==0.3)
DaddyMonster | 2021-10-23 10:17