[PHP-DOC] cvs: phpdoc /en/reference/math/functions fmod.xml
jmcastagnetto Fri Oct 25 18:46:43 2002 EDT Modified files: /phpdoc/en/reference/math/functions fmod.xml Log: Fixed typo Index: phpdoc/en/reference/math/functions/fmod.xml diff -u phpdoc/en/reference/math/functions/fmod.xml:1.1 phpdoc/en/reference/math/functions/fmod.xml:1.2 --- phpdoc/en/reference/math/functions/fmod.xml:1.1 Fri Oct 25 18:41:34 2002 +++ phpdoc/en/reference/math/functions/fmod.xml Fri Oct 25 18:46:43 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- +!-- $Revision: 1.2 $ -- refentry id=function.fmod refnamediv refnamefmod/refname -17,7 +17,7 Returns the floating point remainder of dividend the divisor (parameterx/parameter) by the divisor (parametery/parameter). The reminder (varnamer/varname) is defined as: x = i * y + r, for - some integer varnamei/varname. If paramatery/parameter is + some integer varnamei/varname. If parametery/parameter is non-zero, varnamer/varname has the same sign as parameterx/parameter and a magnitude less than the magnitude of parametery/parameter. -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/math/functions fmod.xml
jmcastagnetto Fri Oct 25 18:56:02 2002 EDT Modified files: /phpdoc/en/reference/math/functions fmod.xml Log: Added example to clarify the explanation. Index: phpdoc/en/reference/math/functions/fmod.xml diff -u phpdoc/en/reference/math/functions/fmod.xml:1.2 phpdoc/en/reference/math/functions/fmod.xml:1.3 --- phpdoc/en/reference/math/functions/fmod.xml:1.2 Fri Oct 25 18:46:43 2002 +++ phpdoc/en/reference/math/functions/fmod.xml Fri Oct 25 18:56:02 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- refentry id=function.fmod refnamediv refnamefmod/refname -22,6 +22,17 parameterx/parameter and a magnitude less than the magnitude of parametery/parameter. /para +example + titleUsing functionfmod/function/title + programlisting role=php +![CDATA[ +$x = 5.7; +$y = 1.3; +$r = fmod($x, $y); +// $r equals 0.5, because 4 * 1.3 + 0.5 = 5.7 +]] + /programlisting +/example /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/math/functions fmod.xml
jmcastagnetto Fri Oct 25 20:29:33 2002 EDT Modified files: /phpdoc/en/reference/math/functions fmod.xml Log: yet another typo fix Index: phpdoc/en/reference/math/functions/fmod.xml diff -u phpdoc/en/reference/math/functions/fmod.xml:1.3 phpdoc/en/reference/math/functions/fmod.xml:1.4 --- phpdoc/en/reference/math/functions/fmod.xml:1.3 Fri Oct 25 18:56:02 2002 +++ phpdoc/en/reference/math/functions/fmod.xml Fri Oct 25 20:29:33 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- refentry id=function.fmod refnamediv refnamefmod/refname -14,7 +14,7 methodparamtypefloat/typeparametery/parameter/methodparam /methodsynopsis para - Returns the floating point remainder of dividend the divisor + Returns the floating point remainder of dividing the dividend (parameterx/parameter) by the divisor (parametery/parameter). The reminder (varnamer/varname) is defined as: x = i * y + r, for some integer varnamei/varname. If parametery/parameter is -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php