I've got a number from a textbox which is in the form of a string (from string.h, not a char * thing) and it has quite a few methods and stuff, and I was wondering which one converts the string to a, for example, float or long int ?

I couldn't find anything on MSDN, and none of the methods say 'toNumber' or anything. Please, it is quite important since what use is a calculator project which doesn't bloody well know what numbers we're dealing with?

Thanks,

le MOI