Symfony\Component\Intl\ResourceBundle\CurrencyBundleInterface::getFractionDigits
Returns the number of digits after the comma of a currency.
Signature
public function getFractionDigits(string
$currency )
Parameters
$currency
— string- A currency code (e.g. "EUR").
Returns
- integer|null
- The number of digits after the comma or NULL if not found.