Re: [RFC] [Discussion] Support object type in BCMath
| From: | Barney Laurance | Date: | Tue, 26 Mar 2024 08:44:26 +0000 |
| Subject: | Re: [RFC] [Discussion] Support object type in BCMath | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-122745@lists.php.net to get a copy of this message | ||
On 24/03/2024 13:13, Saki Takamachi wrote:
I want to start the discussion on the PHP RFC: Support object type in BCMath. https://wiki.php.net/rfc/support_object_type_in_bcmathOne more suggestion - might it be worth adding a
format function to the new BcNum class? This would be similar to the existing number_format function, but would avoid the need to lose precision by converting to float first.