• 1024000000 / 1024 ** 2 == 976.5625 !!!!!!!!!!!

Question related to mission Friendly number


I would like to give some feedback about ...

From: https://py.checkio.org/mission/friendly-number/solve/


Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

This is really fucking annoying: 976.5625 is normally rounded to 977 and NOT 976, so my code ALWAYS fails at this point and if I try to round all my results down, I fail in other tests. I mean it doesn't really matter whether it is 976MiB or 977MiB, come on...