toDouble

fun toDouble(unit: SpeedUnit): Double

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