/** * @return string */ public function getFormattedNetIncome() { return FormatUtils::formatPrice($this->netIncome); }
public function testFormatPriceSpecial() { $price = 40; $price = FormatUtils::formatPrice($price, "^"); $this->assertEquals($price, "^40.00"); }