new YourInteger = floatround(/*YourFloat*/, floatround_round);
CMD:float(playerid, params[])
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new ix = floatround(x, floatround_round);
new string[128];
format(string,128, "%d", ix);
print(string);
return 1;
}