roundToInt

fun roundToInt(unit: SpeedUnit): <Error class: unknown class>

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