Math.Distance[Y1,X1,Y2,X2] bug
Posted: Wed Apr 06, 2005 4:45 am
There seems to be a bug in the maths of the Math.Distance function.
should return 141.42 (the distance from 0,0 to 100,100) but gives some wildly wrong numbers which change as you move around.
works correctly though (the distance from Me to 0,0).
MQ2-20050328
Jon100
Code: Select all
/echo ${Math.Distance[0,0,100,100]}
Code: Select all
/echo ${Math.Distance[0,0]}
MQ2-20050328
Jon100