Skip to content

Commit

Permalink
- MFH (Fix for bug 10002)
Browse files Browse the repository at this point in the history
  • Loading branch information
Derick Rethans committed Mar 27, 2001
1 parent 8f710d8 commit daf68d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/standard/formatted_print.c
Expand Up @@ -92,7 +92,7 @@ static char *php_convert_to_decimal(double arg, int ndigits, int *decpt, int *si
while (p1 < &cvt_buf[NDIG])
*p++ = *p1++;
} else if (arg > 0) {
while ((fj = arg * 10) < 1) {
while ((fj = arg * 10.0) < 0.9999999) {
arg = fj;
r2--;
}
Expand Down

0 comments on commit daf68d8

Please sign in to comment.