(I am a new to LaTeX.) I'm trying to print a length in centimeters. Here is my code:
\documentclass{article}
\begin{document}
\newdimen\mylength
\mylength=1in
\the\mylength
\end{document}
And here is the resulting output:
72.27 pt
However, I want to show output in centimeters: Example: \the dimen [cm]\mylength. How can I do that?