News
All calculations are rounded according to the number of significant digits and rounding mode specified by the precision and rounding properties of the Decimal constructor. For advanced usage, multiple ...
By contrast, the "decimal" type is stored internally as the *exact* decimal representation. If you type "decimal x = 0.1m", x is going to be exactly 0.1, not 0.100000001490116119384765625.
The library is similar to bignumber.js, but here precision is specified in terms of significant digits instead of decimal places, and all calculations are rounded to the precision (similar to Python's ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results