public function readFloat()
    {
        try {
            $bin = $this->getStream()->read(8);

            return current(unpack('d', $bin));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::FLOAT);
        }
    }
public function readFloat()
    {
        try {
            $bin = $this->getStream()->read(8);

            return current(unpack('d', $bin));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::FLOAT);
        }
    }
public function readFloat ( ) { try { $ bin = $ this -> getStream ( ) -> read ( 8 ) ; return current ( unpack ( 'd' , $ bin ) ) ; } catch ( StreamException $ e ) { $ this -> handleStreamException ( $ e , BinaryStreamAccessException :: FLOAT ) ; } }
Read a double precision float from the current binary stream.

@throws \qtism\common\storage\BinaryStreamAccessException
@return integer
Read a double precision float from the current binary stream .