public function compare(Money $money)
    {
        return bccomp($this->amount, $money->getAmount(), self::BCSCALE);
    }
public function compare(Money $money)
    {
        return bccomp($this->amount, $money->getAmount(), self::BCSCALE);
    }
public function compare ( Money $ money ) { return bccomp ( $ this -> amount , $ money -> getAmount ( ) , self :: BCSCALE ) ; }
Compares this moneys amount with the given ones and returns 0 if they are equal, 1 if this amount is larger than
the given ones, -1 otherwise. This method explicitly disregards the Currency!

@param Money $money the money to compare with

@return integer
Compares this moneys amount with the given ones and returns 0 if they are equal 1 if this amount is larger than the given ones - 1 otherwise . This method explicitly disregards the Currency!