public function writeFloat($float)
    {
        try {
            $this->getStream()->write(pack('d', $float));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::FLOAT, false);
        }
    }
public function writeFloat($float)
    {
        try {
            $this->getStream()->write(pack('d', $float));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::FLOAT, false);
        }
    }
public function writeFloat ( $ float ) { try { $ this -> getStream ( ) -> write ( pack ( 'd' , $ float ) ) ; } catch ( StreamException $ e ) { $ this -> handleStreamException ( $ e , BinaryStreamAccessException :: FLOAT , false ) ; } }
Write a double precision float in the current binary stream.

@param float $float
@throws \qtism\common\storage\BinaryStreamAccessException
Write a double precision float in the current binary stream .