![](https://secure.gravatar.com/avatar/30ef4fea8acc9a4c7a392675260cfcb9.jpg?s=120&d=mm&r=g)
27 Sep
2007
27 Sep
'07
6:31 p.m.
Hello Hans, Thanks. Is there any way to print a number in hex or bin form? (Either using lua or tex facilities?) I already know how to generate random integer numbers, \ctxlua{tex.print(math.random(30,60)) ;} now I need to represent them as binary or hexadecimal. -- Best regards, Vyatcheslav Yatskovsky