Closed batkor closed 4 years ago
I changed currency pattern
/**
* Correct price format
*
* @param \Drupal\commerce_price\Event\NumberFormatDefinitionEvent $event
*/
public function priceFormat(NumberFormatDefinitionEvent $event) {
$def = $event->getDefinition();
$def['currency_pattern'] = '#0.00 ¤';
$event->setDefinition($def);
}
Forked for me :-)
Hi guys! How set empty
grouping_separator
?If override number format and set empty grouping_separator in Drupal 8
After change
grouping_separator
,Functionstrtr
returnsFALSE
in parseNumber traitHow set empty grouping separator?
Thanks