Exemplo n.º 1
0
 /// <summary>True if two amounts are equal to within the amount epsilon</summary>
 public static bool EqlAmount(Unit <decimal> lhs, Unit <decimal> rhs, decimal?tol = null)
 {
     return((decimal)Math_.Abs(lhs - rhs) < (tol ?? AmountEpsilon));
 }