\documentclass{jarticle}
\usepackage{dcolumn}
\begin{document}

\begin{center}
  \newcolumntype{.}{D{.}{.}{6}}
  \begin{tabular}{|l|.|}
   $\sqrt{157}$ & 12.53    \\
   $\pi$        & 3.141592 \\
  \end{tabular}
\end{center}



\end{document}