Example #1
0
 static double getValueInUnits(PressureUnits units, double?imperial, double?metric, bool round = false)
 => getValueInUnits(units.IsImperial(), imperial, metric, round);
Example #2
0
 static string getUnitString(this PressureUnits unit) => unit.IsImperial() ? "inHg" : "mb";
		static double getValueInUnits (PressureUnits units, double? imperial, double? metric, bool round = false)
			=> getValueInUnits (units.IsImperial (), imperial, metric, round);