Пример #1
0
 /**
  * Answer a new object with the value specified
  * 
  * @param string $string a string representation of the object
  * @return object Double
  * @access public
  * @static
  * @since 3/14/06
  */
 static function fromString($string, $class = 'Integer')
 {
     return parent::fromString($string, $class);
 }
Пример #2
0
 /**
  * Answer a new object with the value specified
  * 
  * @param string $string a string representation of the object
  * @return object Double
  * @access public
  * @since 3/14/06
  * @static
  */
 static function fromString($string, $class = 'Float')
 {
     return parent::fromString($string, $class);
 }