Write double to a text file? or ofstream equilent?


I need to save some values as type double to a text file. I can’t use some other number type since I am need to save values from a class that from a static library.

Does anyone know how to do this? In standard c++ i could just use ofstream to write to file and ifstream to read from file. Is there anything similar in UE4?