StaticcloneCreate an independently configurable constructor for this tier.
Create an independently configurable scientific 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.
StaticPIPi at the active precision.
Convert according to JavaScript's primitive hint.
Return the absolute value.
Calculate the inverse cosine in radians.
Calculate the inverse hyperbolic cosine.
Calculate the inverse sine in radians.
Calculate the inverse hyperbolic sine.
Calculate the inverse tangent in radians.
Calculate the inverse hyperbolic tangent.
Return the real cube root.
Round to an integer toward positive Infinity.
Calculate the cosine of this radian value.
Calculate the hyperbolic cosine.
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.
Raise Euler's number to this 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 the natural logarithm.
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.
Calculate the sine of this radian value.
Calculate the hyperbolic sine.
Return the principal square root.
Calculate the tangent of this radian value.
Calculate the hyperbolic tangent.
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.
Staticatan2Calculate the angle from the positive x-axis to (x, y).
The arithmetic Decimal tier plus powers, logarithms, and trigonometry. Exported as Decimal by both the root and scientific entry points. Calculations preserve library clones and return this tier for application subclasses.