/** * Get the discount amount. * * @return float */ public function discount() { setlocale(LC_MONETARY, $this->billable->getCurrencyLocale()); return round(money_format('%i', $this->subtotal / 100 - $this->total / 100), 2); }