I am trying to add variables into one.
var a:Number =1;
var b:Number =2;
trace(a+b);
Then ill get 11. I know its adding the numbers up as strings. if i did
trace(a-b); then i would get 0. Do you know how i can add them together?
var a:Number =1;
var b:Number =2;
trace(a+b);
Then ill get 11. I know its adding the numbers up as strings. if i did
trace(a-b); then i would get 0. Do you know how i can add them together?
Comment