I realize that integer division has been discussed at length, but I haven’t been able to find a solution to my problem.
If I perform this most simple of commands in python:
print(int(3*42632001098429499/3))
I get
which I find extremely odd since 42632001098429499 is divisible by 3.
Anybody know how I can get a correct answer?
Thanks in advance!
This is performing floating point division when using / so you are limited by floating point precision. // would get you an integer value that matches what you expect.