I was getting some strange results trying to position things in beamer, and I realised that \strip@pt was removing not only the pt, but also the hundreds from the number.
Here's my MWE:
\documentclass[]{beamer}
\makeatletter
\newcommand{\testOne}{\dimexpr100pt\relax}
\newcommand{\testTwo}{\strip@pt\dimexpr100pt\relax}
\makeatother
\begin{document}
\begin{frame}
\the\testOne
\the\testTwo
\end{frame}
\end{document}
and the result:
This is a bug, right? Or is there something I'm doing wrong?
For the record, I need to remove the dimensions to avoid a warning from \putat. In case this is an XY problem, I'm open for suggestions on better ways to position things on the slide.


\strip@ptremoving the 1, but the\thethat you added (as the error message shows) – David Carlisle Dec 06 '18 at 00:12\the\testTwoyields\the\strip@pt\dimexpr100pt\relaxyields\the100. Here\thedoes not find that kind of expression it expects but the digit1and thus delivers an error-message and the digit0, so in the end you have an error-message and the sequence000. So the answer is: It is not a bug. You are doing something wrong. – Ulrich Diez Dec 06 '18 at 00:24