Quote:
Originally Posted by _lol_
how to show in my print an entire numbre?
|
PHP Code:
new Float: float_f = 0.00213;
client_print(id, print_chat, "Float here: %f", float_f);
Quote:
Originally Posted by _lol_
but i dont want 13.2 i want 14.
|
PHP Code:
new Float: float_f = 0.00213;
client_print(id, print_chat, "Integer here: %d", floatround(float_f, 2));
There's also different flags in floatround, you may want check them out.
http://www.amxmodx.org/doc/index.htm...floatround.htm