kmhIn

fun Int.kmhIn(system: Config.DisplayConfig.DisplayUnits): Int(source)

Converts a speed already expressed in km/h (e.g. protobuf Position.ground_speed) to system's unit, rounded to a whole number. Callers render the result through a localized string resource so the unit label itself stays translatable (see speed_kmh/speed_mph).