public function squareRoot()
    {
        $amount = bcsqrt($this->amount, self::BCSCALE);

        return self::valueOf($amount, $this->currency);
    }
public function squareRoot()
    {
        $amount = bcsqrt($this->amount, self::BCSCALE);

        return self::valueOf($amount, $this->currency);
    }
public function squareRoot ( ) { $ amount = bcsqrt ( $ this -> amount , self :: BCSCALE ) ; return self :: valueOf ( $ amount , $ this -> currency ) ; }
Calculates the square root of this money.

@return Money
Calculates the square root of this money .