UNPKG

@0xtorch/big-decimal

Version:

An arbitrary precision Decimal type for TypeScript that extends BigInt.

11 lines 329 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.absoluteValue = void 0; const absoluteValue = (value) => value.value >= 0 ? value : { value: -value.value, decimals: value.decimals, }; exports.absoluteValue = absoluteValue; //# sourceMappingURL=absoluteValue.js.map