iliaa Mon Oct 14 12:31:56 2002 EDT
Modified files:
/php4/ext/standard/tests/general_functions 001.phpt
Log:
Added float printing tests.
Index: php4/ext/standard/tests/general_functions/001.phpt
diff -u php4/ext/standard/tests/general_functions/001.phpt:1.1
php4/ext/standard/tests/general_functions/001.phpt:1.2
--- php4/ext/standard/tests/general_functions/001.phpt:1.1 Sun Aug 27 15:45:58
2000
+++ php4/ext/standard/tests/general_functions/001.phpt Mon Oct 14 12:31:56 2002
@@ -46,6 +46,8 @@
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 octal and hex test: passed
sprintf octal binary test: passed
sprintf float test: passed
+99.00
+99.00
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php