You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, on the basis of your opening comment for this issue, "0.1 + 5%" should be interpreted as "0.1 plus (5% of 0.1)", i.e. "0.1 plus 0.005" = "0.105", not "0.15".
Fwiw, that interpretation seems reasonable to me. More generally, though, i'm not sure that some other percentage-related tests behave as i intuitively expect:
Again working on the basis of the example provided in this issue's initial comment, it looks like the unit of the first value determines how the second value should act on it. In this context, i expected the first test to result in an output of "5.1%", and the output of the second to be "6%".
Not that my intuition in this regard is necessarily correct! i'm probably thinking in terms of "basis points", and it might be that you'll need to decide how to handle such scenarios (possibly simply by documenting the interpretation you're using).
Originally posted by @sergeevabc in #164 (comment).
The percentage calculation here is quite strange.
The text was updated successfully, but these errors were encountered: