type casting string to double

 
Hello guys,
I hope you can help me here, I am trying to convert a string (which I know represents a double) into a double.

string filename = "comms/signalmt4.txt";
int file = FileOpen(filename, FILE_READ, ' ');
if(file>0)
{
ordertype = FileReadString(file);
lowrange = FileReadString(file);
highrange = FileReadString(file);
slippage = FileReadString(file);
}//end if

lowrange is a string, if I wanted to convert it into a double say:

double temp = lowrange; //how would I do it?

Thank you
 


I found the answer, use the conversion function, hope this helps someone else:

https://docs.mql4.com/convert/StrToDouble
Reason: