示例#1
0
 public function testStaticNumerize()
 {
     $this->assertEquals(1250007, Horde_Support_Numerizer::numerize('eine million zweihundertfünfzigtausendundsieben', array('locale' => 'de')));
 }
示例#2
0
 public function testStaticNumerize()
 {
     $this->assertEquals('2006-08-20 03:00', Horde_Support_Numerizer::numerize('2006-08-20 03:00'));
 }
示例#3
0
文件: Base.php 项目: raz0rsdge/horde
 /**
  * Convert number words to numbers (three => 3)
  */
 public function numericizeNumbers($text)
 {
     return Horde_Support_Numerizer::numerize($text, $this->args);
 }