I currently have the command \aeq{}
to easily print the equivalents used in a chemical reaction in my experimental section. I use numbers rounded to one decimal place.
However, in some reactions, I need to have numbers smaller than 0.1 and I would like to have \aeq{}
do the following: multiply by 100 and print the result followed by mol-%.
\documentclass{scrbook}
\usepackage{chemmacros} % this loads xparse, which supplies \NewDocumentCommand{func}{argspec}{code}
\NewDocumentCommand{\aeq}{m}{#1~eq.} % equivalents
\begin{document}
\aeq{2.5} % prints 2.5~eq.
\aeq{0.03} % prints 0.03~eq., but I want to have it print 3~mol-%
\end{document}