I'm working on math project and I need to create simple vertical addition or subtraction equations. I read this page Page. I'm using MathJax
for this project.
If I'm using integers everything looks ok
$$\begin{align} 124& \\ \underline{+\quad 53}& \\ 177& \end{align}$$
but when I add decimals everything moves into wrong places: $$\begin{align} 12,4& \\ \underline{+\quad 53}& \\ 177& \end{align}$$
as you can see 5 is not under 2 (answer is incorrect this is just an example)
another example
$$\begin{align} 124& \\ \underline{+\quad 53.258}& \\ 177& \end{align}$$
decimals numbers should be on the right.
$$\begin{align}
124& \\
\underline{+\quad 53.258}& \\
177&
\end{align}$$