is anybody aware of a C library to handle 4-bit BCD encoding. thanks pd -- "As a general rule, if you have trouble with the binary system, then probably it is because you do not really understand the decimal system ..." R.W. Hamming