My codes,
\documentclass{article}
\usepackage{calculator}
\usepackage{calculus}
\newcommand\teo{3}
\newcommand\job{,5}
\begin{document}
\MULTIPLY{\teo}{340}\W
\MULTIPLY{\job}{5605}\WW
\ADD{\W}{\WW}\credit
\credit
\end{document}
And result, 3822.5
Could it be, 3822,5?
I didn't find duplicate another question. I found like its, don't working in full my code. Does anyone know how to fix it?
Best Answer
You can use
siunitx
with it's\num
macro andoutput-decimal-marker
option:There are lot of options that
\num
macro can take. For details, refersiunitx
manual.