Mathf.RoundToInt Manual     Reference     Scripting  
Scripting > Runtime Classes > Mathf
Mathf.RoundToInt

static function RoundToInt (f : float) : int

Description

Returns f rounded to the nearest integer.