Adjust print format for number.