public override double ConvertDistanceToKilometers(double distance) { if (ContainsEnglishUnits) { return(ConvertDistance.MilesToKilometers(distance)); } return(distance); }
public override double ConvertSpeedToKilometersPerHour(double speed) { if (ContainsEnglishUnits) { // m/h * k/m return(ConvertDistance.MilesToKilometers(speed)); } return(speed); }