C# Decimal.Epsilon
问题 Why doesn't Decimal data type have Epsilon field? From the manual, the range of decimal values is ±1.0 × 10e−28 to ±7.9 × 10e28. The description of Double.Epsilon: Represents the smallest positive Double value greater than zero So it seems, Decimal has such a (non-trivial) value too. But why isn't it easily accessible? I do understand that +1.0 × 10e−28 is exactly the smallest positive Decimal value greater than zero: decimal Decimal_Epsilon = new decimal(1, 0, 0, false, 28); //1e-28m; By the