Closed arokettu closed 1 year ago
$f = new \Money\Formatter\DecimalMoneyFormatter(new \Money\Currencies\ISOCurrencies()); $sum = \Money\Money::EUR('1234'); echo $f->format($sum->roundToUnit(2, \Money\Money::ROUND_UP));
expected: 13.00 actual: 12.00
Likely the method should use $this->round instead of self::$calculator::round
$this->round
self::$calculator::round
expected: 13.00 actual: 12.00
Likely the method should use
$this->round
instead ofself::$calculator::round