Vasile can you or someone else explain http://www.piclist.com/techref/piclist/jal/bin2bcd3.htm Is result only up to 999 (three digits)? Unsigned up to 65535 would be good as five unpacked bytes each 0 .. 9=20 for now, but later 9 digits from 32 bit number is useful. What you have looks far smarter than repeated division & Mod by 10. But I don't understand it. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .