An arbitrary precision fixed point decimal.
See also \ion\Decimal\Context, and the ION spec's decimal docs.
None.
Create a new fixed point decimal.
void ion\Decimal::__construct(string|int $number, [?ion\Decimal\Context $context = NULL])
Check two decimals for equality.
bool ion\Decimal::equals(ion\Decimal $decimal)
Check whether the decimal is actually a big integer.
bool ion\Decimal::isInt()
Get the integer represention of the decimal.
int ion\Decimal::toInt()
Get the string representation of the decimal.
string ion\Decimal::toString()
An ion\Decimal's context.
class ion\Decimal\Context