Documentation
MQL5 ReferenceFile FunctionsFileWriteDouble 

FileWriteDouble

The function writes the value of a double parameter to a file, starting from the current position of the file pointer.

uint  FileWriteDouble(
   int     file_handle      // File handle
   double  dvalue           // Value to write
   );

Parameters

file_handle

[in]  File descriptor returned by FileOpen().

dvalue

[in]   The value of double type.

Return Value

If successful the function returns the number of bytes written (in this case sizeof(double)=8). The file pointer is shifted by the same number of bytes.

See also

Real types (double, float)