Revised formatting for printf in bcd_input