Android Question Hexa to Decimal

pandi

Member
Licensed User
Longtime User
I am beginner on B4A, currently I am working on comunicate PLC Omron with Android with intranet, all working perfectly for Turn On or Turn Off relai PLC, also I can give some number to Data Memory (DM), but evertyhing in hexa, so when I get the data from PLC to be shown in Android all so in Hexa number
example = A , insted of 10, I put all at the label.text and dynamic number.

at the program i wrote like this

LabelDM0.text = DataDM0

but DataDM0 show as A not 10 how to convert it ? anyone can help me please

thanks

Pandi
 
Top