Misha Medzhytov
Misha Medzhytov
but this works differently at zend framework number formatter. https://framework.zend.com/manual/1.11/en/zend.locale.parsing.html#zend.locale.number.localize the following code: `Zend_Locale_Format::toNumber(12.3678, array('number_format' => '#,#0.'));` will return result: `12.` what version is most correct?
and the following code: `Zend_Locale_Format::toNumber(12.3678, array('number_format' => '#,#0'));` will return result: `12`
understand. zend codes is server side, i needed client side implementation of same thing. :) but anyway, i can use your code still, just made few modifications to make it...