public static function divide($first_number, $second_number, $scale = 6)
    {
        self::assertNumberFormat($first_number);
        self::assertNumberFormat($second_number);
        $result = bcdiv($first_number, $second_number, $scale);

        return self::trim($result);
    }
public static function divide($first_number, $second_number, $scale = 6)
    {
        self::assertNumberFormat($first_number);
        self::assertNumberFormat($second_number);
        $result = bcdiv($first_number, $second_number, $scale);

        return self::trim($result);
    }
public static function divide ( $ first_number , $ second_number , $ scale = 6 ) { self :: assertNumberFormat ( $ first_number ) ; self :: assertNumberFormat ( $ second_number ) ; $ result = bcdiv ( $ first_number , $ second_number , $ scale ) ; return self :: trim ( $ result ) ; }
Divides the first number by the second number.

@param string $first_number  The first number.
@param string $second_number The second number.
@param int $scale            The maximum number of digits after the
decimal place. Any digit after $scale will
be truncated.

@return string The result.
Divides the first number by the second number .