local tst = 999999999999999 local strtest1 = "test%d" local strtest2 = "test%.0f" print(string.format(strtest1,tst)) print(string.format(strtest2,tst))