public function CurrencyInterface::getNumericCode in Commerce Core 8.2
Gets the numeric currency code.
The numeric code has three digits, and the first one can be a zero, hence the need to pass it around as a string.
Return value
string The numeric currency code.
1 method overrides CurrencyInterface::getNumericCode()
- Currency::getNumericCode in modules/
price/ src/ Entity/ Currency.php - Gets the numeric currency code.
File
- modules/
price/ src/ Entity/ CurrencyInterface.php, line 57
Class
- CurrencyInterface
- Defines the interface for currencies.
Namespace
Drupal\commerce_price\EntityCode
public function getNumericCode();