Express a float number as an integer?
#3

Quote:
Originally Posted by Patrick_
Посмотреть сообщение
You don't want any number after the decimal. You simply do this.

pawn Код:
format(string[], sizeof(string[]), "%.0f", args);
Yup, thanks. I'm not thinking clearly this afternoon lol
Reply


Messages In This Thread
Express a float number as an integer? - by Aerotactics - 04.05.2014, 22:20
Re: Express a float number as an integer? - by Patrick - 04.05.2014, 22:39
Re: Express a float number as an integer? - by Aerotactics - 04.05.2014, 22:44

Forum Jump:


Users browsing this thread: 1 Guest(s)