HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Math - Number reverse

01-22-2006, 04:00 AM#1
Zandose
I'm not really sure how to reverse a number from Minus to positive in the editor. Would it work if I used the "Arithmetic" to do something like ( ( -120 - -120 ) + 120 ) ?
01-22-2006, 04:19 AM#2
Ant
Yes, a double negative returns a positive.

so - - 120 = 120

And (-120 - - 120) = 0
01-22-2006, 05:22 AM#3
Zandose
ok ty
01-22-2006, 05:31 AM#4
Immoralis
lol u theres an easy way.. you can mutiply by -1 for exact opposite ....for always positie you use the abs funtcion and for always neg u use abs then times -1, ....now take the integral of it and find the maclaurin series of it
01-22-2006, 09:29 AM#5
Captain Griffen
|x| = positive of x
x * -1 = opposite of x