float.Truncate()

Returns an integer by removing the fraction part of a float.