Thank you for helping me out with that! I'm sorry I did not post a little chunk of code here because I thought if I could comprehend those few lines, I would be able to understand it.

istringstream is(Expr);
double value=0.0;
is >> value;
return value;


thank you for helping me out with my little project here, I appreciate that!