Round

From King Arthur's Gold Wiki
Jump to: navigation, search

Rounds the given float to the nearest whole number, as an int.


This method is part of the Maths namespace so you need to prefix calls to it with 'Maths::'.

int Maths::Round(float x)