how to convert some character into numeric in php?

sridhar

New Member
dear i need help for change a character in php.i get some code from web:\[code\]char dest='a';int conv=(int)dest;\[/code\]can i use this code for convert character into numeric? or do you have any idea?i'm just want to show result as decimal number:\[code\]if null == 0if A == 1\[/code\]
 
Back
Top