Working out percentages and stuff.
#2

hmm, i'll check this out. i'll edit this post

pawn Код:
new float:proc = 0.97; // note that this will be equal to the amount remaining ;]
new earned = floatround(PropDate[propertyid][p_Sell]*proc); // this will round the float. there may be a slight miscalculation at some points for example *.5 at the end would lead it would be *+1 instead of *1, but tat's nothing to worry about. this should work. wtf am I writing so long anyway? :DD
Reply


Messages In This Thread
Working out percentages and stuff. - by Outbreak - 02.07.2009, 20:14
Re: Working out percentages and stuff. - by Ignas1337 - 02.07.2009, 20:16
Re: Working out percentages and stuff. - by BMUK - 02.07.2009, 20:22
Re: Working out percentages and stuff. - by Outbreak - 02.07.2009, 21:36

Forum Jump:


Users browsing this thread: 2 Guest(s)