If I do round(4.265,2) it returns 4.26 but if I do round(4.375,2) it returns 4.38.
round(4.265,2)
round(4.375,2)
Answer:
4.26 (Expecting 4.27 instead of 4.26)
4.38
I am expecting output of first round function to be 4.27 just like it is doing it for second round function (4.38). Does anyone knows why python returns different rounded answer?