Hi,
I realise this is probably the wrong area but
I need to find out the HEX Value for a character and pass this into a int
i know im being stupid but for the life of me i can't think how to do this

Any ideas ?

ie -

int nNum = 0
char ch = "A" // which should be 10
nNum = ch

please help !

Thank again

P