How to convert float to integer or string?
#1

Hello i don't know how can i convert float to integer or string.
Can anyone help me?
Reply
#2

pawn Код:
printf("* %d - %s",floatround(12.234),"12.234");
Reply
#3

Use:

pawn Код:
new YourInteger = floatround(/*YourFloat*/, floatround_round);
Reply
#4

thanks guys it helped
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)