public function formatCurrency($amount) { return number_format($amount, $this->getCurrencyDecimalPlaces(), '.', ''); }