Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Zend_Locale_Format does not format numbers properly #674

Open
gregsmirnov opened this issue Feb 25, 2016 · 1 comment
Open

Zend_Locale_Format does not format numbers properly #674

gregsmirnov opened this issue Feb 25, 2016 · 1 comment

Comments

@gregsmirnov
Copy link

According to documentation Normalization and Localization

  1. Zend_Locale_Format::getNumber should round the number when precision is specified and should truncate number when number format is specified.
  2. Zend_Locale_Format::toNumber should be universal and format with standard and custom CDLR formatted number patterns. This method is used by Zend_Currency:toCurrency for money formatting.

Added tests that show that there are issues. gregsmirnov@71d9151

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants