Re: isNum() or isInt() function?


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by Amit Nithian on January 24, 2001 at 01:15:57:

In Reply to: isNum() or isInt() function? posted by Abe Gillespie on January 23, 2001 at 20:45:25:

: is there a function that takes a string or char array and returns true or false whether it is a number or an integer? or something along this thinking

: thanks
: abe gillespie

Thanks for this message. It got me thinking about an error in my homework. One possible solution, that I have to look into myself, is to possibly convert to cstring and then to int? I know that there are ways of converting a character to integer, but I don't know if this applies to a character array; but that would be irrelevant because you could loop through the array or something like that.
- Amit Nithian


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]