An ion\Decimal's context.
None.
Create a new decimal context.
void ion\Decimal\Context::__construct(int $digits, int $eMax, int $eMin, ion\Decimal\Context\Rounding|int $round, bool $clamp)
Create a context suitable for 128bit decimals.
static ion\Decimal\Context ion\Decimal\Context::Dec128()
Create a context suitable for 32bit decimals.
static ion\Decimal\Context ion\Decimal\Context::Dec32()
Create a context suitable for 64bit decimals.
static ion\Decimal\Context ion\Decimal\Context::Dec64()
Create a context with maximum settings.
static ion\Decimal\Context ion\Decimal\Context::DecMax([ion\Decimal\Context\Rounding|int $round = ion\Decimal\Context\Rounding::HalfEven])
Rounding mode.
enum ion\Decimal\Context\Rounding implements BackedEnum, UnitEnum