public function testAddsPercentsToAValue1() { $a = new Decimal2('377.80'); $p = Decimal2::getPercentsOf($a, new Decimal2('1.00')); $this->assertEquals('3.78', strval($p)); }