13.04.2009, 10:21
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. |