/**
  * Convert this object to a StorableFloat
  * 
  * @return object
  * @access public
  * @since 6/9/06
  */
 function asAFloat()
 {
     return Float::fromString($this->asString());
 }
예제 #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 = 'Double')
 {
     return parent::fromString($string, $class);
 }