Karl bought ​ 3 1/2 ​ gallons of milk that cost $2.70 per gallon. What was the total cost of the milk? Enter your answer in the box.