![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
24 Jun
2006
24 Jun
'06
10:05 a.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