lookatme0128
11-13-2007, 08:41 PM
i just need a quick tip....
how would i convert a negative number varible into a positive one??
ex:
var myNum:Number = -3
how can i use actionscript to make that a positive 3.....keep in mind it will be arandom number everytime so i can't just add 6....there's got to be a method somewhere that i'm missing....
Thanks
how would i convert a negative number varible into a positive one??
ex:
var myNum:Number = -3
how can i use actionscript to make that a positive 3.....keep in mind it will be arandom number everytime so i can't just add 6....there's got to be a method somewhere that i'm missing....
Thanks