Thread: Math Help
View Single Post
01-24-12, 12:30 PM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,930
ah thats it ... result = ( money * ( 1 - (percent/100) )

if percent is 20 then this would come out as

(money * ( 1 - (20/100))
(money * ( 1 - 0.2))
(money * 0.8)

It would then work for any percentage you need.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote