toInt

fun toInt(unit: SpeedUnit): Int

Returns the value of this speed expressed as an Int number of the specified unit.