I have a round function in my code to round a number 5% of the time it does not work properly like in my second example:
Mynumber = round(3.65108567,3)
#Working well
print(Mynumber)
3.651
#Not working
print(Mynumber)
3.65100000000000000001
How can I fix the issue? I work with python 3.7