Twig_Extension_Core::setNumberFormat
Sets the default format to be used by the number_format filter.
Signature
public function setNumberFormat(integer
$decimal,
string
$decimalPoint,
string
$thousandSep )
Parameters
$decimal
— integer- The number of decimal places to use.
$decimalPoint
— string- The character(s) to use for the decimal point.
$thousandSep
— string- The character(s) to use for the thousands separator.