Quote:
Originally Posted by Yuryfury
You can try this (haven't tested):
pawn Код:
printf("floatstr -1772.8328 result is: %.4f", floatstr("-1772.8328")); printf("floatstr 1555.17 result is: %.2f", floatstr("1555.17"));
This makes the float only have 4 and 2 decimal places (respectively)
|
There is a big number of floats in my filterscript, and it is not the solution, but anyway - thanks.