local equations = {
["+"] = function(a, b)
return a + b
end,
["-"] = function(a, b)
return a - b
end
}
if isFirstNum and IsSecondNum and equations[sign] then
local product = equations[sign](firstNumber, secondNumber)
end

local function calc(x, y, sign)
return loadstring('ret = '.. x..sign..y..' return ret')()
end
local result = calc(11,22,'+')
print(result)
local result = calc(11,22,'*')
print(result)