Format integer to string.