roundToInt

fun roundToInt(unit: SpeedUnit): Int

Returns the value of this speed expressed as an Int number of the specified unit rounded to the nearest integer.