the types you're talking about doesn't exist in LUA. In LUA, we have the following data types;
nil, boolean, number, string, userdata, function, thread, and table
config.maxOffersPerPlayer = math.floor(getPlayerLevel(cid) / 20)
would be rather similar to explicit int casting