Yes, I know about floats and I have read the replies to other similar questions (including the link about what every programmer should know about floating points).
I understand that float calculations might go wrong, but I was surprised that the following actually happened:
Python 3.9.6 (default, Jun 30 2021, 10:22:16)
>>> round(2.45, 1)
2.5 # correct
>>> round(2.25, 1)
2.2 # wrong
>>> round(3.25, 1)
3.2 # wrong
I was (still am) bitten by this an I am surprised that this super simple thing does not work in Python.
Is this expected behaviour? Do I really need the Decimals package to deal with these simple calculations?