[luatex] behavior of string.format

Reinhard Kotucha reinhard.kotucha at web.de
Sun Mar 10 00:12:33 CET 2019


Hi,
I just noticed that the TL-2019 version of luatex breaks many of my
scripts.

In the past

  string.format('%d', math.pi)

returned the integer part of math.pi but the latest release crashes
with an error message:

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

Regards,
  Reinhard

--
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotucha at web.de
------------------------------------------------------------------



More information about the luatex mailing list