Browse Source

Added float printing tests.

migration/unlabaled-1.29.2
Ilia Alshanetsky 24 years ago
parent
commit
fed3b964ea
  1. 4
      ext/standard/tests/general_functions/001.phpt

4
ext/standard/tests/general_functions/001.phpt

@ -46,6 +46,8 @@ if ($test == "003333.33") {
echo("failed!\n");
}
echo sprintf("%.2f\n", "99.00");
echo sprintf("%.2f\n", 99.00);
?>
--EXPECT--
sprintf string truncate test: passed
@ -53,3 +55,5 @@ sprintf padding and align test: passed
sprintf octal and hex test: passed
sprintf octal binary test: passed
sprintf float test: passed
99.00
99.00
Loading…
Cancel
Save