guard

Adds guard digits to the current precision and sets rounding to HALF_EVEN. This is useful for extended calculation to minimize errors. Returns a new context with the precision increased by the guard digits value. Note that this does not create a new Decimal type with this context.

Context
guard
(
Context context
,
int guardDigits = 2
)

Meta