Stringable
An arbitrary precision fixed point decimal.
See also \ion\Decimal\Context, and the ION spec's decimal docs.
None.
string
|int
$number#NULL
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
.
Get the integer
represention of the decimal.
Get the string
representation of the decimal.
An ion\Decimal's context.
class ion\Decimal\Context