You are here

public function CurrencyInterface::setFractionDigits in Commerce Core 8.2

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 modules/price/src/Entity/Currency.php
Sets the number of fraction digits.

File

modules/price/src/Entity/CurrencyInterface.php, line 105

Class

CurrencyInterface
Defines the interface for currencies.

Namespace

Drupal\commerce_price\Entity

Code

public function setFractionDigits($fraction_digits);