I want to create an IsNumeric(CString) function. I have some code that seems to work, but since I am new to c++ I want to make sure it is the best way to do this.
BOOL myClass::isNumeric(CString text)
if (temp.GetLength()==text.GetLength()) return TRUE;
else return FALSE;