float.Round()

Rounds a float value to the nearest integer.