Let $K$ be a number field, $A$ the integral closure of $\mathbb Z$ in $K$. Given a valuation ring $\mathfrak o$ in $K$, $\mathfrak m$ its maximal ideal, $\mathfrak p= \mathfrak m \cap A$ the maximal ideal in $A$.
Claim $\mathfrak o=A_{\mathfrak p}$.
I can deduce $\mathfrak o\supset A_{\mathfrak p}$ but I'm not sure about the other inclusion.
Let $v$ be the valuation of $\mathfrak o$ in $K$, $M=(\pi)$ be the maximal ideal of $A_\mathfrak p$, now given $x \in K$,$v(x)=v(\pi^nu)=nv(\pi)=v_{M}(x)v(\pi)$, since $A\subset \mathfrak o$ we have $v(\pi) > 0$, that is, $v(x)\geq 0$ iff $v_{M}(x)\geq 0$.