/** * @param $amount * @param null $currency * * @return string */ public function formatAmount($amount, $currency = null) { return str_replace('.00', '', $this->moneyHelper->formatAmount($amount, $currency)); }
/** * Format the money amount to nice display form. * * @param integer $amount * @param string|null $currency * * @return string */ public function formatAmount($amount, $currency = null, $locale = null) { return $this->helper->formatAmount($amount, $currency, false, $locale); }
/** * Format the money amount to nice display form. * * @param integer $amount * @param string|null $currency * * @return string */ public function formatAmount($amount, $currency = null) { return $this->helper->formatAmount($amount, $currency); }