In this MWE:
\documentclass{article}
\begin{document}
\dimen1=10pt
\multiply\dimen1 by 20pt
\rule{\dimen1}{10pt}
\end{document}
I multiply 10pt with 20pt, expecting a value of 200pt (which is also the case as shown by the resulting rule).
However, there is also the text pt being printed as a result of invoking multiply with these inputs. Why? And how can I get rid of it?
pt– Joseph Wright Dec 17 '15 at 15:01ptfrom20ptwould make sense and be mathematically correct since you want to scale\dimen1by some factor and use it as the width argument of\rulewhich is still a length. – AlexG Dec 17 '15 at 15:28