It seems that the code library http://www.piclist.com/techref/microchip/math/radix/index.htm also needs such a routine... Any takers? --- James Newton (PICList Admin #3) mailto:jamesnewton@piclist.com 1-619-652-0593 PIC/PICList FAQ: http://www.piclist.com or .org -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Philip Martin Sent: Friday, January 19, 2001 09:01 To: PICLIST@MITVMA.MIT.EDU Subject: [PIC]:Maths Problem I have got a routine to convert 16 or 24 bit to BCD and that works fine. But what I need is a routine to convert BCD to 16 bit, does anyone know the location of such a routine or, how best to go about this. TIA, Philip Martin. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.