예제 #1
0
 static double getValueInUnits(SpeedUnits units, double?imperial, double?metric, bool round = false)
 => getValueInUnits(units.IsImperial(), imperial, metric, round);
예제 #2
0
 static string getUnitString(this SpeedUnits unit) => unit.IsImperial() ? "mph" : "kph";
		static double getValueInUnits (SpeedUnits units, double? imperial, double? metric, bool round = false)
			=> getValueInUnits (units.IsImperial (), imperial, metric, round);