On the backend workflow it’s making a change to a thing.
Usually the numbers are off by a couple hundred. To protect the client I cannot give the exact equation. Nonetheless, if the backend calculates differently than the frontend I’d imagine others have experienced this also.
There could be several logical reasons why you might be getting different results here, or it could be some kind of bug… but without knowing the specific numbers, or what methods you’re using to calculate them it’s anyone’s guess. But I’d say the most likely is order of operations, so investigate that first.
Enable parentheses in versions. Then it’s just a case of using the expression builder to create your expression with brackets in the correct place… from the little information you’ve provided we couldn’t possibly tell you exactly where to put the brackets