01-11-2011 06:53 AM
Gaurav,
I wish you all success!!!
Thanks,
Davidson
01-11-2011 07:14 AM
I think using the work "difference" is not clear. What would you expect as an output for the "difference" between (-5) and (-1)? (+4)? Are you looking for the magnitude and direction of motion along a number line from the first number to the second?
01-11-2011 07:32 AM
You are right. The naming difference is confusing.
I would require it to be (-4).
In a way i would require the direction of motion from max to min. ie) i assumed my first number should be always max.
Thank,
Davidson
01-11-2011 07:55 AM
So, you want the magnitude and direction of travel from Max to Min? That'll always be the negative of the absolute difference. No?
01-11-2011 08:49 AM
@davidson D wrote:
[...] ie) i assumed my first number should be always max.
It's easier if you know your first number is always larger.
01-11-2011 10:53 AM
Jim,
Thank you very much for the help.
I really appreciate the active replies 🙂
Thanks,
Davidson