26.05.2011, 01:42
For example, just use the normal floatabs function to get the absolute value of a Float and then round it with floatround so it's a integer.
pawn Код:
printf("%d", floatround(floatabs(-47.00)));
// Will print 47.