6. In an exam, Xiao Ming needs to calculate the value of $37+31 \times a$, but he calculated it as $37+31+a$. Fortunately, he still got the correct result. Then $a=$ $\qquad$ _.
【Analysis】From the problem, $37+31 \times a=37+31+a \Rightarrow a=\frac{31}{30}$