> Did you already check 
> https://github.com/zendframework/zf2/blob/master/tests/ZendTest/I18n/Filter/NumberFormatTest.php
>  ?

That's where I looked in the first place and figured from the second test and 
the data provider, that when a parseable string is passed, a float should be 
returned. 

Since I haven't gotten around to running the tests for only the filter 
components, I mimicked the test by using the data from the provider and the 
code from the test and var_dump'ing the raw and filtered data. I'm getting 
strings returned. 

Unless parsing failed and the raw value is returned, everything is returned as 
a string from filter() as str_replace() is run on the result. 


Best regards,

Andreas

Reply via email to