Fixed zero precision formatting (%.0f)

Precision “0” was treated as if no precision was specified