local tst = 999999999999999
local strtest1 = "test%d"
local strtest2 = "test%.0f"
print(string.format(strtest1,tst))
print(string.format(strtest2,tst))
string.format() %d越界的问题
最新推荐文章于 2023-09-04 18:07:46 发布
local tst = 999999999999999
local strtest1 = "test%d"
local strtest2 = "test%.0f"
print(string.format(strtest1,tst))
print(string.format(strtest2,tst))