-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.4
-
Component/s: BSON
-
None
Decimal128.Compare() returns incorrect results. In the example below, the result should be 0, instead of -1.
var a = Decimal128.Parse("10"); var b = Decimal128.Parse("1E1"); var compres = Decimal128.Compare(a, b);
- duplicates
-
CSHARP-2001 Decimal128.ToDecimal should not throw an exception when the conversion can succeed with a loss of precision
- Closed