Support %i in sprintf