Quote:
Originally Posted by Antithasys
|
Quote:
Originally Posted by =MaTi=
PHP Code:
new difference;
if(X > Y)
{
difference = X - Y;
}
else
{
difference = Y - X;
}
|
That was a smart come around, Mati. Anyway, using FloatAbs takes less writing. Thanks to both of you!