Percent of what? If you mean, percent of the bigger number, then:
?abs(m1-m2)/max(m1,m2)*100
However, abs(m1-m2) is the absolute value of the difference,not the difference itself.
Yuri
>I want to get the abs(num1 - num2).. and have the result
>be a percent..for example...
>?abs(12-14)... the result is 2, but what percent is 2 of the two numbers?
>Robert Keith
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only