I need make a calculation which allow know difference between two numbers. I can subtract the smallest of the larger, but this calculation is very limited, implies if a number is negative and the other positive.
I want to know another way to do this.
It is possible to do this calculation in JavaScript through the:
modulo;
function;
(Others);
Mainly:
Another important thing which I want, is to calculate percentage difference through two differents numbers. To know the value resultant.
I want to know all the possible ways to do this. Because I came across in an embarrassing situation in a video Software that uses expressions based on the JavaScript language.
Thanks!