Issue Type: Bug Created: 2010-06-23T07:40:02.000+0000 Last Updated: 2010-06-23T12:21:05.000+0000 Status: Resolved Fix version(s): - 1.10.7 (28/Jul/10)
Reporter: Alex Dean (alexatkeplar) Assignee: Thomas Weidner (thomas) Tags: - Zend_Locale
Related issues: Attachments:
Zend_Locale_Format::toNumber incorrectly groups the digits of Japanese numbers:
$currency = Zend_Locale_Format::toNumber(12345.67, array( 'precision' => 2, 'locale' => 'ja_JP' // or equally just 'ja' ) ); print $currency // prints 12,345.67 instead of 1,2345.67
See http://en.wikipedia.org/wiki/Japanese_numerals for confirmation of the requirement.
Posted by Thomas Weidner (thomas) on 2010-06-23T12:21:02.000+0000
According to Unicode the numbering for japanese numbers is "#,##0.###". Decimal is "." and grouping is ",".
This means that a number like "1234567.89" has to be displayed like
If this is not correct, then please add an issue to Unicode/CLDR (http://www.unicode.com/cldr) as Zend Framework as also several other frameworks like Java are using CLDR as source for I18n handling.
Therefor closing as non-issue for ZF.
PS: Note that we are not allowed/will not change the content of CLDR within ZF.
Have you found an issue?
See the Overview section for more details.