I creat me a newcommand that use calculator
packages. It is for a cross-multiplication, basically to pass units.
The newcommand say:
\newcommand{\regladetres}[6]{\MULTIPLY{#5}{#3}{\numerador}\DIVIDE{\numerador}{#1}{\resultado}\ROUND[2]{\resultado}{\resultado}\begin{align*}
\SI{#1}{#2} & \text{\line(1,0){40}}\SI{#3}{#4}\\
\SI{#5}{#6} & \text{\line(1,0){40}}x=\frac{\SI{#5}{\cancel#6}\cdot\SI{#3}{#4}}{\SI{#1}{\cancel#2}}=\SI{\resultado}{#4}
\end{align*}
}
work fine when the numbers are minor that 15999, but when multiply 15999x15999 fail or when the numbers (any) mayor that 15999.
How can I do to use great number? In the deep, not more great only 101325. The problem I think that not is siunitx
package, because I use bigger numbers without problem.
Thanks a lot!
Darío
\qty{\fpeval{159999*159999}}{Hz}
.