Re: Proposal: Arbitrary precision native scalar type
| From: | Alexander Pravdin | Date: | Tue, 12 Dec 2023 08:50:56 +0000 |
| Subject: | Re: Proposal: Arbitrary precision native scalar type | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121988@lists.php.net to get a copy of this message | ||
On Thu, Dec 7, 2023 at 3:36 PM Alex Pravdin <alex.pravdin@interi.co> wrote:
Ext-decimal:
> ...
> - Workaround: implements the Decimal class that allows basic regular math
> operations.
>
I just found out that under PHP 8.3, basic arithmetic operations on the
Decimal object variables are no longer supported and cause TypeError. So
this is one more point to implementing native decimals in PHP.
Best,
Alex