I just need to understand how rationalized $\displaystyle \frac{2}{\sqrt{2\pi}}$ to get $\displaystyle \sqrt{\frac{2}{\pi}}$

When I rationalized, I just multiplied by $\displaystyle \frac{\sqrt{2\pi}}{\sqrt{2\pi}}$ and got $\displaystyle \frac{\sqrt{2\pi}}{\pi}$