bccomp example


    public static function Comp($op1$op2$scale = null)
    {
        $op1 = self::exponent($op1$scale);
        $op2 = self::exponent($op2$scale);
        return bccomp($op1$op2$scale);
    }
}

if (!extension_loaded('bcmath')
    || (defined('TESTS_ZEND_LOCALE_BCMATH_ENABLED') && !TESTS_ZEND_LOCALE_BCMATH_ENABLED)
) {
    Zend_Locale_Math_PhpMath::disable();
}
Home | Imprint | This part of the site doesn't use cookies.