_type = self::XMLRPC_TYPE_DOUBLE; $this->_value = sprintf('%f',(float)$value); // Make sure this value is float (double) and without the scientific notation } /** * Return the value of this object, convert the XML-RPC native double value into a PHP float * * @return float */ public function getValue() { return (float)$this->_value; } }