Re: isNum() or isInt() function?


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

Posted by Jay Shatzer on January 24, 2001 at 16:30:37:

In Reply to: Re: isNum() or isInt() function? posted by William D McQuain on January 24, 2001 at 12:36:35:

Oops, thank you.

-Jay

: And, if you compare the numbers as strings you'll get the wrong orderings in some cases...

: : Why? Comparison operators have been overloaded for the string class. You can if you choose to simply read in your numbers as strings and compare them that way. It'd keep things much simpler.

: : -Jay

: : : 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




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 ]