Float/Integer problem
#2

So strange, try using floatround:

pawn Код:
return floatround(floatsqroot(((x2 - x1) * (x2-x1)) + ((y2-y1) * (y2-y1)) + ((z2 - z1) * (z2 - z1))), floatround_round);
Reply


Messages In This Thread
Float/Integer problem - by Ryso - 15.08.2010, 22:11
Re: Float/Integer problem - by MrDeath537 - 15.08.2010, 22:17
Re: Float/Integer problem - by Ryso - 15.08.2010, 22:40
Re: Float/Integer problem - by Jefff - 15.08.2010, 22:46

Forum Jump:


Users browsing this thread: 1 Guest(s)