Zane took Jessica to dinner. The check was $31.23. They left a tip of 25% the total check. How much was the total cost of the dinner (including tip)?