You should use strcmp()
Andi
At 11:20 AM 9/14/2001 -0700, Chris Lee wrote:
>your right === does work, I still feel that the internal auto-conversion
>should recognize that the string is to long to be an int and treat both as a
>sting. how would you force an if statement to use typecasting ?
>
>i
your right === does work, I still feel that the internal auto-conversion
should recognize that the string is to long to be an int and treat both as a
sting. how would you force an if statement to use typecasting ?
ie.
if ( '12.00' == '12' )
will equal as true, but maybe I want it to be compared