bugfix for number format

This commit is contained in:
willkensonh 2018-10-12 16:58:48 +11:00
parent a79b2192e6
commit f9209e0a82

View File

@ -27,7 +27,7 @@ class NumberFormat
private $currencySymbol;
private $commas;
private $commas = true;
public function __construct(int $type = null)
{
@ -46,6 +46,16 @@ class NumberFormat
return $this;
}
/**
* @param bool $commas
* @return NumberFormat
*/
public function setCommas($commas)
{
$this->commas = $commas;
return $this;
}
/**
* @return int|null
*/