I have a program when it runs it gives a hexadecimal output (Eg: FFFF00B7). I want to extract last 4 digits (from the example: 00B7) and convert it into decimal(from the example: the output should be 183). How can I do this? Can anyone give me a sample program?
↧