X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fv0.2%2Fion%2FDecimal.html;fp=docs%2Fv0.2%2Fion%2FDecimal.html;h=b9e813d75dee05cdf1145e579bad172fb28c8796;hb=3787f011144279a73401b7709676058508735e0e;hp=0000000000000000000000000000000000000000;hpb=717c399364f77f606c1e07d515127ece31ccb878;p=awesomized%2Fext-ion diff --git a/docs/v0.2/ion/Decimal.html b/docs/v0.2/ion/Decimal.html new file mode 100644 index 0000000..b9e813d --- /dev/null +++ b/docs/v0.2/ion/Decimal.html @@ -0,0 +1,245 @@ + + +
+ +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
+