fileReadDouble

Reads a 64-bit double from a file. Takes a file handle. Returns a 64-bit double-precision floating-point value, or 0.0 if the handle is invalid or end of file is reached.

File IO

Parameters & Returns

Parameters

fileHandle Int

Returns

Double

Quick Summary

Reads a 64-bit double from a file. Takes a file handle. Returns a 64-bit double-precision floating-point value, or 0.0 if the handle is invalid or end of file is reached.

Technical Exegesis...

Reads a 64-bit double-precision floating-point value from the file at the current position and advances the position by 8 bytes (sizeof(double)). Returns 0.0 if the handle is invalid or end of file is reached.

Reads the data in native binary format. Useful for reading binary data files containing floating-point numbers.

Example

Example.bam
; No example implemented yet