/** * {@inheritdoc} */ public function applyTo(BigNumber $amount, Currency $currency, $currentScale) { return $amount->toScale($currency->getDefaultFractionDigits(), $this->roundingMode); }
/** * {@inheritdoc} */ public function applyTo(BigNumber $amount, Currency $currency, $currentScale) { return $amount->toScale($this->scale, $this->roundingMode); }