Issues

ZF-10925: Currency formatting isn't correct when using nl_BE as locale.

Issue Type: Bug Created: 2011-01-07T05:54:18.000+0000 Last Updated: 2011-01-07T07:18:38.000+0000 Status: Resolved Fix version(s): Reporter: Tom Bevers (tom.bevers) Assignee: Thomas Weidner (thomas) Tags: - Zend_Currency

Related issues: Attachments:

Description

Currency formatting isn't correct when using nl_BE as locale.

Zend_Registry::set('Zend_Currency', new Zend_Currency('nl_BE')); $this->currency(50); Gives as result: 50,00 €

This should be: € 50,00

However when using nl_NL as locale the formatting is correct.

Fix: /Locale/Data/nl_BE.xml

Change currencyFormat > pattern to: ¤#,##0.00

Comments

Posted by Thomas Weidner (thomas) on 2011-01-07T07:18:37.000+0000

According to CLDR the format to use for currencies is >#,##0.00 ¤<

This means that ZF produces the correct output. When you wish to use another output simply give the wished format. When you feel that there is an error within CLDR please report an issue at http://cldr.unicode.org

You should note that even the actual release of CLDR which is 3 weeks old, provides the same format pattern.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts