A mathematical function to round?
#3

You are looking for floatround.

pawn Код:
new Float:F = 55.60;
printf("%d", floatround(F, floatround_round));
// will print 56
Reply


Messages In This Thread
A mathematical function to round? - by Skylar Paul - 22.05.2011, 22:01
Re: A mathematical function to round? - by Austin - 22.05.2011, 22:10
Re: A mathematical function to round? - by admantis - 23.05.2011, 00:31

Forum Jump:


Users browsing this thread: 2 Guest(s)