Simple problem:
i am having 2 input boxes (variables X and Y), one dynamic output (variable Z), and one submit button. i want to create a simple addition.
Let's pretend X=5 and Y=4. When i use the "+", insted of getting Z=9, i get Z=54. When i use the multiplication "*" i get the correct answer. I suppose that flash interprets the X and Y as text even if it is numbers. How can i force these variables to be numeric. i want a 9!!!
Thanks
fnl
i am having 2 input boxes (variables X and Y), one dynamic output (variable Z), and one submit button. i want to create a simple addition.
Let's pretend X=5 and Y=4. When i use the "+", insted of getting Z=9, i get Z=54. When i use the multiplication "*" i get the correct answer. I suppose that flash interprets the X and Y as text even if it is numbers. How can i force these variables to be numeric. i want a 9!!!
Thanks
fnl