[php-src] Issue #21048: numberFormatter truncate decimal places
| From: | ger82 | Date: | Tue, 27 Jan 2026 11:13:37 +0000 |
| Subject: | [php-src] Issue #21048: numberFormatter truncate decimal places | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-251610@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/21048
Author: ger82
### Description
There is FRACTION_DIGITS, but this rounds the result.
It would be desirable if there were a way to truncate to only a defined number of decimal places.
For example TRUNC_DIGITS or ROUND_DISABLE something similar.