[HELP]Numbers
#5

Quote:
Originally Posted by 90NINE
float(number / 1000.0)
then use %.3f in your string.
Ex: format(str, 64, "Congratulations! You have just won $%.3f!", float(Winnings[playerid] / 1000.0));
It will show the way you want it to as long as the number is above 10,000 and below 100,000.
how to make $1000000 => $1.000.000?
Reply


Messages In This Thread
[HELP]Numbers - by Khelif - 12.04.2009, 07:47
Re: [HELP]Numbers - by Khelif - 12.04.2009, 11:51
Re: [HELP]Numbers - by 90NINE - 12.04.2009, 12:18
Re: [HELP]Numbers - by Khelif - 12.04.2009, 13:04
Re: [HELP]Numbers - by Khelif - 13.04.2009, 10:21

Forum Jump:


Users browsing this thread: 3 Guest(s)