Open sw opened 3 years ago
This is standard calculator behaviour. The handling of addition to percentage does however vary, and I've now changed the behaviour so that ordinary addition is performed when the first term includes percent (e.g. 10 + 20% = 12, but 10% + 20% = 30% = 0.3).
This may have been introduced with #75. I think I remember the behaviour was different in an older version, but can't say which.
Observed behaviour with 2.8.2-1build3 on Xubuntu:
Expected behaviour (I guess?):
I understand the reasoning given by @juanfra684 in #75, but in my case it just seems wrong, because commutativity of addition is violated.