Keith spent $ 6.51 on a rabbit toy , $ 5.79 on pet food , and a cage cost him $ 12.51 . He found a dollar bill on the ground . What was the total cost of Keith 's purchases ?
<gadget id="calculator">6.51 + 5.79 + 12.51</gadget>
<output>24.81</output>

<result>24.81</result>