StaticcloneCreate an independently configurable constructor for this tier.
Create an independently configurable arithmetic constructor.
Optionalconfig: Partial<DecimalConfig>StaticmaxSelect the greatest value from an iterable or scalar inputs.
Select the greatest value from a non-empty iterable.
Select the greatest of one or more scalar values.
StaticminSelect the least value from an iterable or scalar inputs.
Select the least value from a non-empty iterable.
Select the least of one or more scalar values.
StaticconfigRead a frozen snapshot of this constructor's active configuration.
Apply a validated partial configuration update to this constructor.
StaticlimitsHard validation limits shared by every Decimal tier.
Convert according to JavaScript's primitive hint.
Return the absolute value.
Round to an integer toward positive Infinity.
Divide by a value using the active precision and rounding mode.
Divide by a value and truncate the quotient toward zero.
The number of digits after the decimal point, or NaN for a non-finite value.
Round to an integer toward negative Infinity.
Whether this value is a finite even integer.
Whether this value is finite.
Whether this value is a finite integer.
Whether this value is NaN.
Whether this value has a negative sign.
Whether this value is a finite odd integer.
Whether this value has a positive sign.
Whether this value is positive or negative zero.
Calculate a remainder using the configured modulo mode.
Return a new Decimal with the sign inverted.
Count this value's significant digits.
OptionalincludeTrailingIntegerZeros: booleanRound to an integer using the configured rounding mode.
-1, -0, 0, 1, or NaN according to this value's state.
Round to a maximum number of decimal places.
Optionaldp: numberOptionalrm: RoundingModeFormat this value in exponential notation.
Optionaldp: numberOptionalrm: RoundingModeFormat this value in fixed-point notation.
Optionaldp: numberOptionalrm: RoundingModeApproximate this value as a fraction.
Optionaldenominator: DecimalValueReturn the exact string serialized by JSON.
Round to a multiple of another value.
Optionalvalue: DecimalValueOptionalrm: RoundingModeConvert to the nearest JavaScript number.
Format this value to a specified number of significant digits.
Optionalsd: numberOptionalrm: RoundingModeRound to a maximum number of significant digits.
Optionalsd: numberOptionalrm: RoundingModeFormat this value in canonical fixed or exponential notation.
Return the exact primitive string value, preserving negative zero.
Truncate to an integer toward zero.
Return the exact string used by default JavaScript coercion.
The core Decimal representation plus arithmetic and rounding operations. Import the scientific tier for powers, logarithms, and trigonometry.