Add width modifier and prepending zeros for hexadecimal output and decimal precision for floating point