Bug #19895 [Opn]: broken digit conversion in lang.tr_TR
| From: | kouber@php.net | Date: | Fri, 30 Jan 2015 16:15:13 +0000 |
| Subject: | Bug #19895 [Opn]: broken digit conversion in lang.tr_TR | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-11225@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19895&edit=1
ID: 19895
Updated by: kouber@php.net
Reported By: msc at istanbul dot com
Summary: broken digit conversion in lang.tr_TR
Status: Open
Type: Bug
Package: Numbers_Words
Operating System: Centos
Package Version: 0.16.4
PHP Version: 5.4.14
Roadmap Versions:
New Comment:
Can you give a link to the pull request in Github please? Currently it
does not appear as fixed.
Previous Comments:
------------------------------------------------------------------------
[2015-01-29 17:24:42] shehriyari
This has been fixed in Github. Please close.
------------------------------------------------------------------------
[2013-04-12 11:51:52] msc1
Description:
------------
600.50 produces "alt? yüz TL elli Kr" but 611.50 produces the
same "alt? yüz TL elli Kr".
Test script:
---------------
<?php
// include class
include("Numbers/Words.php");
// create object
$nw = new Numbers_Words();
// convert to string
echo Numbers_Words::toCurrency(611.50, tr_TR, 'TRY')
?>
Expected result:
----------------
"alt? yüz on bir TL elli Kr"
Actual result:
--------------
"alt? yüz TL elli Kr"
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19895&edit=1