30.08.2015, 15:26
per cent is French and literally means: per hundred. If you keep that in mind it isn't all that difficult.
Add percentage:
Subtract percentage:
Add percentage:
pawn Код:
newvalue = oldvalue * (1.0 + (15.0 / 100.0));
pawn Код:
newvalue = oldvalue * (1.0 - (15.0 / 100.0));

