In Python 3 interpreter,
1//0.1
2//0.2
4//0.4
returns 9.0, but
5//0.5
3//0.3
returns 10.0. Is this rounding-off behavior correct?
In Python 3 interpreter,
1//0.1
2//0.2
4//0.4
returns 9.0, but
5//0.5
3//0.3
returns 10.0. Is this rounding-off behavior correct?