Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATRound
CATInt32 CATRound ( CATFloat64  dblVal  )  [inline]

Round a double-precision floating point to the nearest integer Assumption: float must be within valid integer range.

Parameters:
dblVal - double-precision floating point value to round. Must be within integer range.
Returns:
CATInt32 - dblVal rounded to nearest integer

Definition at line 104 of file CATUtil.h.

References CATASSERT.


Generated on Mon Feb 11 04:10:05 2008 for Game Accessibility Suite by doxygen 1.5.4