php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43172 typo
Submitted: 2007-11-01 13:35 UTC Modified: 2007-11-25 18:30 UTC
From: evade at evade dot dk Assigned: bjori (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: os x 10.4.10
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: evade at evade dot dk
New email:
PHP Version: OS:

 

 [2007-11-01 13:35 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-01 13:52 UTC] felipe@php.net
Reclassified.

The correct is ' ' instead of '.'
http://dk2.php.net/manual/en/function.number-format.php
 [2007-11-25 18:30 UTC] bjori@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC