public function CurrencyInterface::setFractionDigits in Price 2.0.x
Same name and namespace in other branches
- 8 src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setFractionDigits()
- 3.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setFractionDigits()
- 2.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setFractionDigits()
- 3.0.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setFractionDigits()
Sets the number of fraction digits.
Parameters
int $fraction_digits: The number of fraction digits.
Return value
$this
1 method overrides CurrencyInterface::setFractionDigits()
- Currency::setFractionDigits in src/
Entity/ Currency.php - Sets the number of fraction digits.
File
- src/
Entity/ CurrencyInterface.php, line 105
Class
- CurrencyInterface
- Defines the interface for currencies.
Namespace
Drupal\price\EntityCode
public function setFractionDigits($fraction_digits);