WriteDouble Method

Object List

Defined By:
BinaryFile

Description:

Writes an 8-byte floating point number to the currently open file.

Declaration:

Function WriteDouble(ByVal arg As Double) As Long

Details:

If the file is not open for writing, an exception will be generated. The return value will be the number of bytes written, which will be 8 for a successful write. If the "SwapBytes" property is True, the bytes of the number will be "swapped" before writing.

See Also:

SwapBytes property