The '0D' could be anything - vendor specific code, supplier code - who knows!
To convert a hex value like that use the 'standard' C++ functions - convert the hex string to a long integer and then (if you want to) convert that to a string.
Please provide your code (using code tags). Also please provide links to the reader that you use and the library that you use. Lastly provide a sample of the number on the tag (complete) and the matching data that you get when you read the tag.
Ralph_S_Bacon:
The '0D' could be anything - vendor specific code, supplier code - who knows!
Carriage return?
Ralph_S_Bacon:
If you are thinking about getting an RFID reader for your Arduino (a Mifare MIRC522, for example) you might like to watch my YouTube video #34 RFID Reader/Writer (Mifare MFRC522) with a Logic Level Shifter that will be published at noon on Friday 13th May 2016.
Some vendors of access control equipment do scramble the code in their readers so the number that comes out is not the same as the token. This is part a security thing but mainly to stop people using third party cheaper readers when enlarging their system.
Paul__B:
Well, it is now past noon GMT and it is Friday the 13th, so I seriously suggest you repair the broken link you posted!
Even though I am now in a different country to where I live I have now logged in and repaired that broken link. Note to self: don't trust YouTube to generate working links when you are not there to check them!
Seriously though, thanks for bringing this to my attention, I have no idea how it became a broken link considering it was pasted from YouTube (unless it was a private, pre-published link just for my use).
Also some card numbers have no relationship between the number printed on them and the number the card holds. Again this is for security. The card number is simply a reference to the look up table of valid cards.
Think about it, if there was a relationship, you could simply write down the number of someone else's card and then go home an clone the card.