src/Money.php
public function abs() : Money
    {
        return new Money($this->amount->abs(), $this->currency, $this->context);
    }
public function abs() : Money
    {
        return new Money($this->amount->abs(), $this->currency, $this->context);
    }
public function abs ( ) : Money { return new Money ( $ this -> amount -> abs ( ) , $ this -> currency , $ this -> context ) ; }
Returns a Money whose value is the absolute value of this Money.

The resulting Money has the same context as this Money.

@return Money
Returns a Money whose value is the absolute value of this Money .