% decimals template
\documentclass[border = 1mm]{standalone}
\usepackage{dcolumn}

% Define a decimal-aligned column type
\newcolumntype{d}[1]{D{.}{.}{#1}}

\begin{document}
    % decimals diagram template
\begin{tabular}{c d{1.2}}
     &2.07 \tabularnewline
    $-$&1.47 \tabularnewline
    \hline
     & \tabularnewline
    \hline
\end{tabular}

\end{document}
