ROUND

From GTAMods Wiki
Jump to navigation Jump to search
ROUND
Number of parameters: 1
Parameter #TypeDescription
1.floatValue
Return value:
TypeDescription
integerRounded Value (Ceiling if number at or above x.5, Floor if below x.49)

Rounds the number to a whole integer. If the tenth place is at or above 5, the number will be rounded up to the next whole number (Ceiling). If the tenth digit is 4 (or below), the number will be rounded down to the next whole number (Floor).