public function formatByDecimal(Currencies $currencies = null)
    {
        $formatter = new DecimalMoneyFormatter($currencies ?: static::getCurrencies());

        return $this->formatByFormatter($formatter);
    }
public function formatByDecimal(Currencies $currencies = null)
    {
        $formatter = new DecimalMoneyFormatter($currencies ?: static::getCurrencies());

        return $this->formatByFormatter($formatter);
    }
public function formatByDecimal ( Currencies $ currencies = null ) { $ formatter = new DecimalMoneyFormatter ( $ currencies ? : static :: getCurrencies ( ) ) ; return $ this -> formatByFormatter ( $ formatter ) ; }
Format by decimal.

@param \Money\Currencies $currencies

@return string
Format by decimal .