A gallon is a unit of volume, and it is a whole unit. Decimals are used to represent parts of a whole.
Perhaps you're thinking of how many fluid ounces are in a gallon? There are 128 fluid ounces in a gallon.