Sign in Join
FPDoc Onlineexperiment

TStreamHelper.ReadDouble function

Member of TStreamHelperIn unit StreamEx

Read a double-precision floating point value from the stream.

Declaration

pascal
function ReadDouble: Double

Function result

The double-precision floating point type.

Description

ReadDouble reads a double-precision floating point value from the stream and returns the value. No endianness corrections are performed.

Errors

If the end of stream is reached before all necessary bytes can be read, an EReadError exception is raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.