![](https://secure.gravatar.com/avatar/e1d6b7d0f096cb8cf44273fa33fb05f0.jpg?s=120&d=mm&r=g)
19 Dec
2012
19 Dec
'12
8:32 p.m.
···
Do \luaexpr{1/3.8} and \ctxcommand{format("@0.3f",1/3.8)} return numbers or strings? That is, I would like to use these results in a \if or \ifnum command to exit a \doloop.
Fwiw there are Lua-side conditionals available as well: http://www.ntg.nl/pipermail/ntg-context/2012/068673.html with these maybe you won’t need TeX for the tests. Regards Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments