10 Jun
2024
10 Jun
'24
1:58 p.m.
Hans van der Meer via ntg-context schrieb am 10.06.2024 um 15:46:
The I do not understand. I am testing if a dimension set can be checked against the expected value. It looks like 100.0pt is not really 100.0pt. Why? And how can I do this test properly with true as result?
\scratchdimen=100pt\relax \iftok{\the\scratchdimen}{100.0pt}true\else false\fi Screenshot 2024-06-10 at 15.37.32.png
printing \the\scratchdimen results in 100.0pt
while \meaning\scratchdimen results in: constant dimension 100.0pt
\starttext \scratchdimen=100.0pt \ifdim\scratchdimen=100.0pt True \else False \fi \stoptext Wolfgang