[luatex] behavior of string.format

Akira Kakuto kakuto at w32tex.org
Sun Mar 10 05:00:44 CET 2019


> bad argument #2 to 'format' (number has no integer representation)

I think that this is a difference between lua-5.2 and lua-5.3.
lua-5.3 seems to require, for example:
string.format('%d', math.floor(math.pi))

Best,
Akira



More information about the luatex mailing list