1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2025-12-06 06:32:07 +00:00
This commit is contained in:
Geoff Cowan 2025-07-09 06:26:31 +08:00 committed by GitHub
commit 31b3e73ad0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4458,6 +4458,7 @@
Decimal.tan = tan;
Decimal.tanh = tanh; // ES6
Decimal.trunc = trunc; // ES6
Decimal.zero = new Decimal(0);
if (obj === void 0) obj = {};
if (obj) {