Math rules do apply : P
can you share your code so we can see the issue? Usually for things like this, you should print the values of all the variables and work your way from there. You can also use the debugger. Doing so, you can diagnose the issue most of the time.
1 Like