deveel-math icon indicating copy to clipboard operation
deveel-math copied to clipboard

A library for handling big numbers and decimals under Mono/.NET frameworks

Results 3 deveel-math issues
Sort by recently updated
recently updated
newest added

## Summary I really needed to exploit `BigDecimal`s for a project of mine and soon I realized `deveel-math` was the only viable option. As soon as I adapted my code...

Similar to issue #6 the > and < operators of BigDecimal are swapped.

``` Assert.AreEqual(16, BigDecimal.Parse("9999,9999,9999,9999".Replace(",", "")) .StripTrailingZeros().Precision); ``` It fails, with the actual value being 17 ... Yikes! Something to do with StripTrailingZeros ... I've also seen issues with unnecessary rounding, when...