Sadly, the author of this code did not leave his contact email. =(

double Value_Of_Num(const string &Expr)

this function is the one that's making my head spin, its only 4 lines long, thanks in advance for explaining!