#43172 [Opn]: typo
| From: | felipe@php.net | Date: | Thu, 01 Nov 2007 13:52:40 +0000 |
| Subject: | #43172 [Opn]: typo | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-186@lists.php.net to get a copy of this message | ||
ID: 43172
Updated by: felipe@php.net
Reported By: evade at evade dot dk
Status: Open
-Bug Type: Website problem
+Bug Type: Translation problem
Operating System: os x 10.4.10
PHP Version: Irrelevant
New Comment:
Reclassified.
The correct is ' ' instead of '.'
http://dk2.php.net/manual/en/function.number-format.php
Previous Comments:
------------------------------------------------------------------------
[2007-11-01 13:35:50] evade at evade dot dk
Description:
------------
There are some typo's on http://dk2.php.net/manual/da/function.number-
format.php
"$dansk_formateret_tal = number_format($tal, 2, ',', '.');
// 1 234,56"
should be "// 1.234,56"
Reproduce code:
---------------
$dansk_formateret_tal = number_format($tal, 2, ',', '.');
// 1 234,56
Expected result:
----------------
$dansk_formateret_tal = number_format($tal, 2, ',', '.');
// 1.234,56
Actual result:
--------------
$dansk_formateret_tal = number_format($tal, 2, ',', '.');
// 1 234,56
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43172&edit=1