Edit
↰
Home
↑
ion
↑
Decimal
↻
Decimal::toInt
↲
Context
↲
Decimal::__construct
↲
Decimal::equals
↲
Decimal::isInt
↲
Decimal::toString
#
int
ion\Decimal::toInt
()
Get the
integer
represention of the decimal.
Params:
#
None.
Throws:
#
\ion\Exception
, If the decimal is actually not an
integer
.
Show Comments from Github Discussions