bcadd example


    public static function Add($op1$op2$scale = null)
    {
        $op1 = self::exponent($op1$scale);
        $op2 = self::exponent($op2$scale);

        return bcadd($op1$op2$scale);
    }

    /** * BCSub - fixes a problem of BCMath and exponential numbers * * @param string $op1 * @param string $op2 * @param integer $scale * @return string */
    public static function Sub($op1$op2$scale = null)
    {
Home | Imprint | This part of the site doesn't use cookies.