toSpeed

fun Number.toSpeed(unit: SpeedUnit): Speed

Returns a Speed equal to this Number of the specified unit.