Author Topic: Adding a percentage  (Read 472 times)

What I'm trying to do is add 2.5% intrest to peoples money in the 'bank'. I'm not sure how to do this in script.

E.g: Not in script
Persons cash + 2.5% = w/e

In script
%client.bankmoney + (Not sure how do add the percentage)

%client.bankmoney *= 1.025;

I think *= is a function... if it's not, then I'm an idiot and find some multiplying function

You might wanna round the number, too, so you don't have 25.6 cents

Worked a charm, thanks.