[NTG-context] \hexstringtonumber{..}
Taco Hoekwater
taco at elvenkind.com
Sat Jun 24 18:05:27 CEST 2006
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
More information about the ntg-context
mailing list