CurrencyBundleInterface::getFractionDigits()

int|null getFractionDigits(string $currency)

Returns the number of digits after the comma of a currency.

Parameters

string $currency A currency code (e.g. "EUR")

Return Value

int|null The number of digits after the comma or NULL if not found
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.