コード例 #1
0
 static double getValueInUnits(LengthUnits units, double?imperial, double?metric, bool round = false)
 => getValueInUnits(units.IsImperial(), imperial, metric, round);
コード例 #2
0
 static string getUnitString(this LengthUnits unit) => unit.IsImperial() ? "in" : "mm";
コード例 #3
0
		static double getValueInUnits (LengthUnits units, double? imperial, double? metric, bool round = false)
			=> getValueInUnits (units.IsImperial (), imperial, metric, round);