Issue Type: New Feature Created: 2009-03-11T07:28:46.000+0000 Last Updated: 2009-04-09T05:28:10.000+0000 Status: Resolved Fix version(s): - 1.8.1 (12/May/09)
Reporter: Václav Vaník (dimmu) Assignee: Thomas Weidner (thomas) Tags: - Zend_Filter
Related issues: Attachments:
It would be nice to have this filter :)
Posted by Thomas Weidner (thomas) on 2009-04-06T23:20:20.000+0000
What should this filter do, what a simple cast couldn't do ?
Posted by Václav Vaník (dimmu) on 2009-04-09T04:41:01.000+0000
Well my idea was, this filter will convert string to float.
In php is serious problem - if you use eg. setlocale(cs_CZ), where decimal separator is comma instead of dot - when php converts string 100,10 to float, it truncates the decimal part.
I added this issue before i red your filter_normalize/locale proposal, so this filter is not needed or this filter could be wrapper to cast normalize on float strings.
Posted by Thomas Weidner (thomas) on 2009-04-09T05:28:08.000+0000
Casting just for having 2 different components which do exactly the same is useless. Closing this issue as won't fix.
Have you found an issue?
See the Overview section for more details.