[AppleScript]How to display a int and not a string (I want to display the result of the equation and not the proper equation)
I want to display(example) 12 instead of "(6+6)*2+12/3" the problematic part is:
on buttonGo_(aNotification)
display dialog"X = "default answer""
set equation to text returned of result as integer
display dialog(equation)
end buttonGo_
What can I do to fix it?
Mac mini