How can I do this... ?
#1

So.. how can I do to make this
pawn Code:
format(string, 16, "Motor: %0.f%s", Float[i]/10, "%");
Look like 98.3% instead of 98%

Thanks
Reply
#2

98.3 us a bit fussy isent it?
Reply
#3

Quote:
Originally Posted by Jackster
View Post
98.3 us a bit fussy isent it?
Don't post if you are not answering me.
Reply
#4

Try this:
pawn Code:
format(string, 16, "Motor: %.2f%s", Float[i]/10, "%");
Reply
#5

Quote:
Originally Posted by Calgon
View Post
Try this:
pawn Code:
format(string, 16, "Motor: %.2f%s", Float[i]/10, "%");
Yep, thanks mate
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)