How do I find the corresponding value to a certain z-score? Besides using the table of value.

I was assuming that if $\displaystyle z>0$ then I need to compute:

$\displaystyle \frac{1}{ \sqrt{\pi} } \int_0^z e^{-x^2} dx$

But that does not work when I numerically integrate that.