The function writes the value of a double parameter to a file, starting from the current position of the file pointer.
[in] File descriptor returned by FileOpen().
[in] The value of double type.
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.