1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

The printf modifier for a double is just %f

This commit is contained in:
Rasmus Lerdorf
2013-04-01 16:27:09 -07:00
parent 7b07d05917
commit 527ac404a1

View File

@@ -106,7 +106,7 @@ define dump_bt
printf "%ld", $zvalue->value.lval
end
if $type == 2
printf "%lf", $zvalue->value.dval
printf "%f", $zvalue->value.dval
end
if $type == 3
if $zvalue->value.lval
@@ -185,7 +185,7 @@ define ____printzv_contents
printf "long: %ld", $zvalue->value.lval
end
if $type == 2
printf "double: %lf", $zvalue->value.dval
printf "double: %f", $zvalue->value.dval
end
if $type == 3
printf "bool: "