1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2025-06-11 03:44:22 +00:00
This commit is contained in:
Geoff Cowan 2025-04-24 12:52:58 +10:00 committed by GitHub
commit d9a4a3c36e
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) {