This commit is contained in:
Edin Kadribasic 2003-01-16 13:19:50 +00:00
parent db8b4c6762
commit d4e143b8be

View file

@ -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;