bugfix for number format
This commit is contained in:
parent
a79b2192e6
commit
f9209e0a82
@ -27,7 +27,7 @@ class NumberFormat
|
|||||||
|
|
||||||
private $currencySymbol;
|
private $currencySymbol;
|
||||||
|
|
||||||
private $commas;
|
private $commas = true;
|
||||||
|
|
||||||
public function __construct(int $type = null)
|
public function __construct(int $type = null)
|
||||||
{
|
{
|
||||||
@ -46,6 +46,16 @@ class NumberFormat
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param bool $commas
|
||||||
|
* @return NumberFormat
|
||||||
|
*/
|
||||||
|
public function setCommas($commas)
|
||||||
|
{
|
||||||
|
$this->commas = $commas;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return int|null
|
* @return int|null
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user