LUA Vérifiez si la chaîne est numéro

local function isInteger(str)

  return not (str == "" or str:find("%D"))  -- str:match("%D") also works

end
Scary Skylark