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

        return bccomp($first_number, $second_number, $scale);
    }
public static function compare($first_number, $second_number, $scale = 6)
    {
        self::assertNumberFormat($first_number);
        self::assertNumberFormat($second_number);

        return bccomp($first_number, $second_number, $scale);
    }
public static function compare ( $ first_number , $ second_number , $ scale = 6 ) { self :: assertNumberFormat ( $ first_number ) ; self :: assertNumberFormat ( $ second_number ) ; return bccomp ( $ first_number , $ second_number , $ scale ) ; }
Compares the first number to 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 int 0 if both numbers are equal, 1 if the first one is greater,
-1 otherwise.
Compares the first number to the second number .