public function test_iconvertdel() { $t = new CT1_Interest_Format(); $t->set_m(367); // anything greater than 366 is treated as continuous $t->set_advance(true); $this->assertTrue(abs($this->icalc->get_rate_in_form($t) - 0.058269) < 1.0E-6); // source of numbers: Formulae and tables 6% p.58 delta }