diff options
Diffstat (limited to 'ext/standard/tests/math/round_basic.phpt')
-rw-r--r-- | ext/standard/tests/math/round_basic.phpt | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/ext/standard/tests/math/round_basic.phpt b/ext/standard/tests/math/round_basic.phpt index 912529433e..70d5ae4806 100644 --- a/ext/standard/tests/math/round_basic.phpt +++ b/ext/standard/tests/math/round_basic.phpt @@ -13,35 +13,35 @@ precision=14 echo "*** Testing round() : basic functionality ***\n"; $values = array(123456789, - 123.456789, - -4.5679123, - 1.23E4, - -4.567E3, - 0x234567, - 067777777, - "1.234567", - "2.3456789e8"); + 123.456789, + -4.5679123, + 1.23E4, + -4.567E3, + 0x234567, + 067777777, + "1.234567", + "2.3456789e8"); $precision = array(2, - 8, - 0x3, - 04, - 3.6, - "2", - "04", - "3.6", - "2.1e1", - null, - true, - false); + 8, + 0x3, + 04, + 3.6, + "2", + "04", + "3.6", + "2.1e1", + null, + true, + false); for ($i = 0; $i < count($values); $i++) { - echo "round: $values[$i]\n"; - for ($j = 0; $j < count($precision); $j++) { - $res = round($values[$i], $precision[$j]); - echo "...with precision $precision[$j]-> "; - var_dump($res); - } + echo "round: $values[$i]\n"; + for ($j = 0; $j < count($precision); $j++) { + $res = round($values[$i], $precision[$j]); + echo "...with precision $precision[$j]-> "; + var_dump($res); + } } ?> --EXPECT-- |