Hi,
This is not a bug, but rather a feature request. I'd suggest a new
filter for this:
Zend_Validate_Currency perhaps.
Thomas W. will know more about this.
Best,
Andries Seutens
http://andries.systray.beFelipe Weckx schreef:
> I'm using Zend_Validate_Float to validate a form field, but I set the
> PHP locale to pt_BR, when I input some value with no decimals, it
> works fine, but, if I put, like 20,52 it returns false. After making
> some tests I've found out that it's because Zend_Validate_Float uses
> strval, which considers the locale and replaces the decimal point. I'm
> not sure wheter that's a bug or not, if it is, where can I report it?
>
> Thanks
>
Gecontroleerd op virussen door de JOJO Secure Gateway.