Symfony\Component\Intl\ResourceBundle\CurrencyBundleInterface::getRoundingIncrement
Returns the rounding increment of a currency.
The rounding increment indicates to which number a currency is rounded. For example, 1230 rounded to the nearest 50 is 1250. 1.234 rounded to the nearest 0.65 is 1.3.
Signature
public function getRoundingIncrement(string
$currency )
Parameters
$currency
— string- A currency code (e.g. "EUR").
Returns
- float|integer|null
- The rounding increment or NULL if not found.