php-src/ext/standard/tests/math/bug24142.phpt
Sterling Hughes 1ed8e46273 according to the notes in the bugs database, this is the correct result.
this result is also the same one given in 4.3.2 and 5.0
2003-06-26 03:21:45 +00:00

11 lines
157 B
PHP

--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.05