示例#1
0
 public function testFormat2()
 {
     $s = new StringObject('Your price is: %01.2f');
     $s->format('120');
     $this->assertSame('Your price is: 120.00', $s->val());
 }