philip Sat Jun 1 21:54:25 2002 EDT
Modified files:
/phpdoc/en/reference/math/functions round.xml
Log:
Fixed incorrect examples.
Index: phpdoc/en/reference/math/functions/round.xml
diff -u phpdoc/en/reference/math/functions/round.xml:1.2
phpdoc/en/reference/math/functions/round.xml:1.3
--- phpdoc/en/reference/math/functions/round.xml:1.2 Wed Apr 17 02:39:54 2002
+++ phpdoc/en/reference/math/functions/round.xml Sat Jun 1 21:54:25 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.round">
<refnamediv>
@@ -32,14 +32,12 @@
<informalexample>
<programlisting role="php">
<![CDATA[
-$foo = round(3.4); // $foo == 3.0
-$foo = round(3.5); // $foo == 4.0
-$foo = round(3.6); // $foo == 4.0
-$foo = round(3.6, 0); // equivalent with above
-
-$foo = round(1.95583, 2); // $foo == 1.96
-
-$foo = round(1241757, -3); // $foo == 1242000
+echo round(3.4); // 3
+echo round(3.5); // 4
+echo round(3.6); // 4
+echo round(3.6, 0); // 4
+echo round(1.95583, 2); // 1.96
+echo round(1241757, -3); // 1242000
]]>
</programlisting>
</informalexample>