ZF-2878: bcmath extension used by Zend_Locale doesn't support scientific notation for floats representation.
bcmath extension uses strings as an input. Some floats are automatically written using scientific notation while they are converted to strings (like '1.234E-6').
bcmath extension skips exponent part of the number (e.g. '1.234E-6' => '1.234'). That produces wrong results of mathimatical operations with some numbers.
Hopefully, bcmath functions are not used directly within Zend Framework (except some big integers arithmetic within Zend_OpenId which is not affected by this problem). So we can proxy bcmath calls and perform correct numbers transformation.
That also may help to solve problems with some locales having ',' as decimal separator.