24 Jun
2006
24 Jun
'06
4:05 p.m.
Peter Münster wrote:
Hello Hans,
what is the purpose of \hexstringtonumber{..}?
I am not Hans, of course, but: Your macro is making the thing harder then needed, this works just as well: \starttext \number\hexstringtonumber{1F} \number\hexstringtonumber{f5} \stoptext However, like you, I would have expected it to return a decimal value directly, like this: \def\hexstringtonumber#1% {\number\dohexstringtonumber#1} Cheers, Taco