Edit
↰
Home
↑
ion
↑
Decimal
↻
Decimal::__construct
↲
Context
↲
Decimal::equals
↲
Decimal::isInt
↲
Decimal::toInt
↲
Decimal::toString
#
void
ion\Decimal::__construct
(
string
|
int
$number
, [?
ion\Decimal\Context
$context
=
NULL
])
Create a new fixed point decimal.
Params:
#
string
|
int
$number
#
The decimal number.
Optional ?
ion\Decimal\Context
$context
#
=
NULL
The decimal context.
Show Comments from Github Discussions