WriteTextDouble Method

Object List

Defined By:
BinaryFile

Description:

Writes a double to the currently open file as a text formatted double.

Declaration:

Function WriteTextDouble(ByVal arg As Double) As Long

Details:

Text format number is represented in the file as human-readable ASCII digits (e.g. "123.45"). Therefore, the number of bytes occupied by a number of this format is determined by the number of digits in the number, not the internal representation of the number. If the file is not open for writing, an exception will be generated. The return value will be 1 for a successful write, and 0 for a failure.