MQL4 Reference File Functions FileReadNumber

FileReadNumber

The function reads from the CSV file a string from the current position till a separator (or till the end of a text string) and converts the read string to a value of double type.

double  FileReadNumber(
   int  file_handle    // File handle
   );

Parameters

file_handle

[in]  File descriptor returned by FileOpen().

Return Value

The value of double type.

Example script in FileIsLineEnding().

See also

FileWriteString()