c: convert hex to same value decimal number

i have

UINT8 year = 0x15;

and I want to get decimal value 15 in UINT8 decYear from year. How can I do it ? thankyou


Source: c#

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.