Anti-Rich
Well-known member
hi guys
just wondering, i am using a function to determine if there are any non-numerical characters in the string as the user inputs a payrate. (the only exception being the . character.
the question i have is, i have used a way to convert a string to char as follows..
"."c
that little c converts it to char for use in the if statement. now, i know i can also use cchar("."), i was just wondering is either way better than the other. and also, is there another way i could be doing it?
cheers all
adam
just wondering, i am using a function to determine if there are any non-numerical characters in the string as the user inputs a payrate. (the only exception being the . character.
the question i have is, i have used a way to convert a string to char as follows..
"."c
that little c converts it to char for use in the if statement. now, i know i can also use cchar("."), i was just wondering is either way better than the other. and also, is there another way i could be doing it?
cheers all
adam