Hi all I faced up a problem What I am trying to do is to add 20 % to a number :). I have some number and after that I add those 20 % to it, but before that people should be able to see them. I am using this
_addSum = ((20/100) * _all);
_addSum= _addSum * 100;
_addSum = Math.round(_addSum);
_addSum = _addSum / 100; addition.text = String(_addSum);
As you can see _addSum is these 20 %. Up to here everything is ok, but when I show my addSum and if there is other sign like this 24.4[SIZE=“5”]5[/SIZE] and it is like this 24.[SIZE=“5”]4[/SIZE] The problem is how to make this show 24.[SIZE=“5”]40[/SIZE] and 24.[SIZE=“5”]45[/SIZE]. Any ideas? Please help 10x in advance