예제 #1
0
 /**
  * @deprecated
  */
 public function convert(Money $money, ICurrency $to)
 {
     $amount = $money->toFloat() * $this->calculateExchangeRate($money->getCurrency(), $to);
     return new $money($to->scaleAmount($amount), $to);
 }