MATLAB: Number output when using syms

MATLABsyms

As the attached picture shows, when I try to use the syms funtion, the output comes out as a long equation. The equation gives the right answer when you solve it, but I was wondering if there was a way to output just the number I needed.
Thanks in advance.

Best Answer

Call vpa or double on the symbolic expression.