]> granicus.if.org Git - php/commitdiff
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
authorSVN Migration <svn@php.net>
Mon, 16 Jun 2003 17:50:08 +0000 (17:50 +0000)
committerSVN Migration <svn@php.net>
Mon, 16 Jun 2003 17:50:08 +0000 (17:50 +0000)
ext/standard/tests/math/bug24142.phpt [new file with mode: 0644]

diff --git a/ext/standard/tests/math/bug24142.phpt b/ext/standard/tests/math/bug24142.phpt
new file mode 100644 (file)
index 0000000..834ae8c
--- /dev/null
@@ -0,0 +1,10 @@
+--TEST--
+Bug #24142 (round() problems)
+--FILE--
+<?php // $Id$ vim600:syn=php
+echo round(5.045, 2). "\n";
+echo round(5.055, 2). "\n";
+?>
+--EXPECT--
+5.04
+5.06