src/Zend/Locale/Math.php
public static function exponent($value, $scale = null)
    {
        if (!extension_loaded('bcmath')) {
            return $value;
        }

        $split = explode('e', $value);
        if (count($split) == 1) {
            $split = explode('E', $value);
        }

        if (count($split) > 1) {
            $value = bcmul($split[0], bcpow(10, $split[1], $scale), $scale);
        }

        return $value;
    }
public static function exponent($value, $scale = null)
    {
        if (!extension_loaded('bcmath')) {
            return $value;
        }

        $split = explode('e', $value);
        if (count($split) == 1) {
            $split = explode('E', $value);
        }

        if (count($split) > 1) {
            $value = bcmul($split[0], bcpow(10, $split[1], $scale), $scale);
        }

        return $value;
    }
public static function exponent ( $ value , $ scale = null ) { if ( ! extension_loaded ( 'bcmath' ) ) { return $ value ; } $ split = explode ( 'e' , $ value ) ; if ( count ( $ split ) == 1 ) { $ split = explode ( 'E' , $ value ) ; } if ( count ( $ split ) > 1 ) { $ value = bcmul ( $ split [ 0 ] , bcpow ( 10 , $ split [ 1 ] , $ scale ) , $ scale ) ; } return $ value ; }
Changes exponential numbers to plain string numbers
Fixes a problem of BCMath with numbers containing exponents

@param integer $value Value to erase the exponent
@param integer $scale (Optional) Scale to use
@return string
Changes exponential numbers to plain string numbers Fixes a problem of BCMath with numbers containing exponents