\begin{equation}
m=\tan(\theta)\nonumber \\
\end{equation}
Notice that \(\theta\) is the angle that the line makes with the positive \(x\)-axis.
Also, you might have forgotten to change the mode on your calculator to degree mode as the angle given is in degree, not radian.