[php-src] Issue #19561: number_format shouldn't round

From: Date: Fri, 22 Aug 2025 20:21:38 +0000
Subject: [php-src] Issue #19561: number_format shouldn't round
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-250611@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/19561 Author: simplysara ### Description From manual page: https://php.net/function.number-format Why is this method rounding. It should simply format the number. If I wanted to round I would use round(). https://github.com/php/php-src/blob/94d0b41db1c278bfb61760035095a6963dda9e54/ext/standard/math.c#L1256

« previous php.bugs (#250611) next »