decimalRoundToContext
decimalRoundToContext(
value,context?):Decimal
Defined in: packages/math-numbers/src/decimal/decimal-round-to-context.ts:14
Rounds to at most context.precision significant digits.
A precision of zero or less means unlimited, and the value is returned unchanged.
Parameters
Section titled “Parameters”Readonly<Decimal>
context?
Section titled “context?”Readonly<DecimalContext> = numericConfig.defaultDecimalContext