Example #1
0
 /**
  * Modulo values
  */
 public function testModValues()
 {
     $currency = new Currency\Currency(array('currency' => 'EUR', 'locale' => 'de_AT'));
     $currency->add(801);
     $currency->mod(2);
     $this->assertEquals('€ 1,00', $currency->toCurrency());
 }