php-src/ext/standard/tests/math/round_prerounding.phpt
2008-12-02 16:27:15 +00:00

11 lines
158 B
PHP

--TEST--
round() prerounds results to precision
--INI--
precision=14
--FILE--
<?php
var_dump (round (0.285, 2, PHP_ROUND_HALF_UP));
?>
--EXPECT--
float(0.29)