Wednesday, June 28, 2017

Common wrong formula


This formula to calculate return (b-a)/a is wrong. It should be (b-a)/abs(a) to take care of negative numbers.

No comments:

Post a Comment