Debugging even simple numerical routines on a microprocessor is complicated by the binary notation invariably used by the machine. Even when the routine is fully functional it is seldom obvious that the binary answer is correct. This difficulty can be removed by using a programmable calculator to convert the binary operands and answers into decimal numbers, repeat the calculation on the calculator and compare answers. A listing is presented which is a program written to convert a 16-bit twos complement fractional binary number into a decimal number, using an HP25 calculator. The 16-bit number must be expressed as a four digit hexadecimal number, with the numbers A through to F being replaced with its decimal equivalent 10 through to 15. An illustrative example is included.