Page 1 of 1

#PB_Round_Nearest as default parameter for Round()

Posted: Fri Mar 14, 2008 3:45 pm
by AND51
Well, if you read the title, what should I add? :D
Yet, there is no default parameter, so IMHO it's better to have one than to have none.

Posted: Fri Mar 14, 2008 5:10 pm
by Psychophanta
1Up

And besides of that, the manual says:
Description

Round the specified float number according to the given mode. If Mode = 0, it round down the number (keep only the integer part). If Mode = 1, it round up the Number
please replace 0 and 1 by the constants name... :)