Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Not an Issue
-
Affects Version/s: 1.10.5
-
Fix Version/s: 1.10.7
-
Component/s: Zend_Currency
-
Labels:None
Description
In Poland there is use comma "," insted of dot "." in numbers.
Zend_Currency correctly shows values but I can not set number as string with comma.
I use locale 'pl_PL' and PLN.
$curr->setValue('123,45'); //as string
ps
Closing as non-issue.
According to the manual and the API setValue() accepts:
A localized string is no valid input. When you want to give a localized string as value then you need to normalize it before or extend Zend_Currency to do this.
Reason: "value" is internally a float.
- integer
- float
- Zend_Currency
A localized string is no valid input. When you want to give a localized string as value then you need to normalize it before or extend Zend_Currency to do this. Reason: "value" is internally a float.