Revised bcd_ostr to allow selection of leading digits to be printed.