ZF-9498: Zend_Currency service ignored
Description
The Zend_Currency service seems to be ignored. When exactly following the documentation 1.10 code examples, this are the results: Expected result: '$ 3.000' Actual result: '$2,000.00' According to the documentation: "The above example will return '$ 3.000' because the 1.000 EUR will be converted by a rate of 2 to 2.000 USD."
Comments
Posted by Micha Verboeket (mverboeket) on 2010-03-21T10:52:00.000+0000
Affected component
Posted by Thomas Weidner (thomas) on 2010-03-21T11:49:40.000+0000
Please describe what exactly you mean.
There are about 500 different code examples through the complete documentation.
What did you do, which code did you use and what did you expect? Which ZF release and which PHP release were you using?
We need some more informations to be able to reproduce your failure.
Posted by Micha Verboeket (mverboeket) on 2010-03-21T12:08:30.000+0000
I used the 2 code examples on the English reference guide of the framework version 1.10 (http://framework.zend.com/manual/en/…) I am using php 5.3.0
This is the code I used:
and
The locale is registered with:
And as I said: Expected result: '$ 3.000' Actual result: '$2,000.00'
Posted by Thomas Weidner (thomas) on 2010-03-21T14:20:51.000+0000
Fixed with r21602