percentages shouldn't have commas by default

This commit is contained in:
willkensonh 2018-10-12 17:00:38 +11:00
parent f9209e0a82
commit d2497d8164

View File

@ -83,6 +83,9 @@ class NumberFormat
$this->setCurrencySymbol('$'); $this->setCurrencySymbol('$');
} }
} }
if ($type == self::TYPE_PERCENTAGE) {
$this->setCommas(false);
}
return $this; return $this;
} }