-
Currently, an error occurs when zero arguments is passed to `Decimal.sum`.
```js
const decimals = []
Decimal.sum(...decimals) // Error occurs
```
Lodash's `_.sum` and Ramda's `R.sum` returns `0…
yassh updated
1 month ago
-
**Is your feature request related to a problem? Please describe.**
I'm using Decimal.js in zod schemas. When I use the superForm with dataType='json', posting data fails during devalue.stringify, bec…
-
Hevipelle's Antimatter Dimensions swapped from decimal.js to break_infinity.js. Once the update is out, I will provide the devs of these two incremental games also swap for that sick performance gainz…
-
protobuf.js version: 6.8.0
Hello, I'm trying to overwriting `toObject` in a custom class, but it seems is not being possible or I'm doing it wrong.
```js
const protobuf = require("protobufjs");…
yagop updated
2 years ago
-
dApps commonly require math with large numbers. We currently have the BigInt base schema type for math with large integers, but we do not have a base schema type to facilitate arbitrary-precision math…
-
With the latest version of ESPHome, the v3 devices page can be used via config:
```yaml
web_server:
version: 3
```
If you do not have the latest version of ESPHome installed, the v3 devices …
-
Hi,
using multipleOf can lead to wrong validation errors in some cases, reason seems to be the incorrect validation of floats in js.
For example the following schema:
``` json
{
"type": "obj…
defel updated
6 years ago
-
Hi Alex,
This is a really great project! As far as I can see, the implementation is cool and clear, and I am willing to use it in CAD projects.
However, I am struggling with the following issues…
-
The following behavior is somewhat confusing:
```javascript
const { Decimal } = require('decimal.js');
five = new Decimal(5);
ten = new Decimal(10);
five < ten // false
five five // false
…
kynan updated
3 years ago
-
I'm unable to modify money to only use 2 decimal places when my site setting using 5 decimal places. The docs say I should be able to specify the decimal length and delimiters, but looking at the JS f…