public function LegacyNumberFormatter::setMinimumFractionDigits in Price 3.0.x
Same name and namespace in other branches
- 8 src/LegacyNumberFormatter.php \Drupal\price\LegacyNumberFormatter::setMinimumFractionDigits()
- 3.x src/LegacyNumberFormatter.php \Drupal\price\LegacyNumberFormatter::setMinimumFractionDigits()
Sets the minimum number of fraction digits.
Parameters
int $minimum_fraction_digits: The minimum number of fraction digits.
Return value
$this
File
- src/
LegacyNumberFormatter.php, line 104
Class
- LegacyNumberFormatter
- Provides a legacy number formatter for the deprecated NumberFormatterFactory.
Namespace
Drupal\priceCode
public function setMinimumFractionDigits($minimum_fraction_digits) {
$this->options['minimum_fraction_digits'] = $minimum_fraction_digits;
return $this;
}