Hi AnBar If you mean Binary to BCD, you can find at http://www.microchip.com/10/Appnote/Listing/index.htm See Application Note : AN526 . It is 8 bit, but can be modified to 16 bit, 24 bit, etc.......... Regards, Harry anbarsystem@ZAZ.COM.BR wrote: > I need help. > In a project that I am doing with the PIC16F84, I have a binary count of > 16-bits. > Exists a way of converting an count of 16-bits in a decimal value, see > example: > Cont 16-bits has the value 1000111000 or hex 118 > I need this value in decimal = 280. > Somebody could help me. > Thanks in advance > AnBar