% asd worksheet template
\documentclass[border = 1mm]{standalone}
\usepackage{dcolumn}
    
\newcolumntype{d}[1]{cD{.}{.}{#1}}

\begin{document}
    
\begin{tabular}{d{1.2}}
     &0.52 \tabularnewline
    $-$&0.12 \tabularnewline
    \hline
     & \tabularnewline
    \hline
\end{tabular}

\end{document}
