#50123 [Opn->Csd]: [FR] Arithmetic operators in french manual
| From: | yannick@php.net | Date: | Mon, 30 Nov 2009 11:00:40 +0000 |
| Subject: | #50123 [Opn->Csd]: [FR] Arithmetic operators in french manual | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3359@lists.php.net to get a copy of this message | ||
ID: 50123
Updated by: yannick@php.net
Reported By: polettog at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Translation problem
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2009-11-30 11:00:09] svn@php.net
Automatic comment from SVN on behalf of yannick
Revision: http://svn.php.net/viewvc/?view=revision&revision=291484
Log: - Sync with EN
- WS
- Fix bug #50123
------------------------------------------------------------------------
[2009-11-09 12:20:36] polettog at gmail dot com
Description:
------------
http://www.php.net/manual/en/language.operators.arithmetic.php
http://www.php.net/manual/fr/language.operators.arithmetic.php
English :
"The division operator ("/") returns a float value unless the two
operands are integers (or strings that get converted to integers) and
the numbers are evenly divisible, in which case an integer value will be
returned."
French :
"L'opérateur de division ("/") retourne une valeur entière (le résultat
d'une division entière) si les deux opérandes sont entiers (ou bien des
chaînes converties en entier)."
The french version doesn't talk about "evenly divisible numbers", so we
can think that the operator really makes integer divisions
15 (int) / 4 (int) = 3 (int)
which is not the case
15 (int) / 4 (int) = 3.75 (float)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50123&edit=1