mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2024-10-27 20:34:12 +00:00
5ddbf63040
- Adding a default value allows Decimal to be constructed without arguments and not throw an error. Javascript primitives like String and Number can be constructed without an argument and this property is useful when using the type with a library like class-transformer. - Assign a default value of zero as the decimal with no constructor argument. |
||
---|---|---|
.. | ||
modules | ||
setup.js | ||
test.html | ||
test.js |