30.04.2017, 22:36
(
Последний раз редактировалось alexjanjaj; 30.04.2017 в 23:07.
)
As an output im using:
format(string, sizeof(string), "It took %d milliseconds to get a right answer!", GetTickCount() - count);
So it will display It took 123456 milliseconds to get a right answer
Is it possible to make it display as "It took 0.1234 milliseconds" , "it took 1.123" milliseconds and so on?
EDIT:If i use %f i will get everytime 0.00000,but this is the format i need thought.
format(string, sizeof(string), "It took %d milliseconds to get a right answer!", GetTickCount() - count);
So it will display It took 123456 milliseconds to get a right answer
Is it possible to make it display as "It took 0.1234 milliseconds" , "it took 1.123" milliseconds and so on?
EDIT:If i use %f i will get everytime 0.00000,but this is the format i need thought.