Need little help about this
#5

Why create a whole new variable when you just do as Y-Less said lol. fee is just a waste of variable. Just use your common sense, if you want to subtract 25%, there are many ways,

One that you're using
One that Y-Less said

other being,

Код:
money = money - (money*25/100) //OR
money = money - (money/4); //OR
money = money*0.75;
EDIT:
you can also add,
Код:
 money = money*3/4;
List can go on.
Reply


Messages In This Thread
Need little help about this - by DarknesS1988 - 23.10.2018, 18:31
Re: Need little help about this - by Calisthenics - 23.10.2018, 18:34
Re: Need little help about this - by DarknesS1988 - 25.10.2018, 14:04
Re: Need little help about this - by DarknesS1988 - 25.10.2018, 19:17
Re: Need little help about this - by GTLS - 27.10.2018, 10:40
Re: Need little help about this - by GTLS - 28.10.2018, 06:37
Re: Need little help about this - by DarknesS1988 - 28.10.2018, 07:49
Re: Need little help about this - by DarknesS1988 - 28.10.2018, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)