mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed bug #21648
This commit is contained in:
parent
db8b4c6762
commit
d4e143b8be
1 changed files with 1 additions and 1 deletions
|
@ -1011,7 +1011,7 @@ PHPAPI char *_php_math_number_format(double d, int dec, char dec_point, char tho
|
|||
|
||||
/* allow for thousand separators */
|
||||
if (thousand_sep) {
|
||||
integral += integral / 3;
|
||||
integral += (integral-1) / 3;
|
||||
}
|
||||
|
||||
reslen = integral;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue