Exemplo n.º 1
0
 public static double ConvertUS(double value, UnitUS fromUnit, UnitUS toUnit)
 {
     Debug.Assert(fromUnit != toUnit);
     return _Convert((int)fromUnit, (int)toUnit, FACTORS_US, value);
 }
Exemplo n.º 2
0
 static public double ConvertUS(double value, UnitUS fromUnit, UnitUS toUnit)
 {
     Debug.Assert(fromUnit != toUnit);
     return(_Convert((int)fromUnit, (int)toUnit, FACTORS_US, value));
 }