示例#1
0
 static double getValueInUnits(DistanceUnits units, double?imperial, double?metric, bool round = false)
 => getValueInUnits(units.IsImperial(), imperial, metric, round);
示例#2
0
 static string getUnitString(this DistanceUnits unit) => unit.IsImperial() ? "mi" : "km";
		static double getValueInUnits (DistanceUnits units, double? imperial, double? metric, bool round = false)
			=> getValueInUnits (units.IsImperial (), imperial, metric, round);