Tommy had 13 hits in 40 at bats for his baseball team. What is his batting average? (Batting average is the number of hits divided by the number of at bats, expressed as a decimal.)