03.09.2017, 10:45
im stucking here, rly need help!
new string[25];
new Float:num = 52.74377;
format(string, sizeof(string), "Number is: %.2f", num);
SendClientMessage(playerid, -1, string);
Output: Number is: 52.74
new Float:myfloat = 52.734477;
new str[10];
fomat(mystr,10,"%.2f",myfloat);
new Float:newfloat = floatstr(mystr);