I wrote 4 . 5 - 3 . 5 = ERROR!!
Why it is wrong? I thought it is good!
if key == "dot" then
if isNumber1 == true then
-- true
txt.value = txt.value .. "."
number = number .. "."
else
-- false
if operation ~= nil then
txt.value = txt.value .. "."
number = txt.value .. "."
else --if nil
alert("Operation is on nil! You can't use the comma!", "Error")
end
end
drawing = false
end
end