Round

From King Arthur's Gold Wiki
Revision as of 22:25, 6 September 2012 by Shadlington (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)