04.02.2014, 04:13
pawn Код:
new Float:variable = 70058.0, result = floatround(variable/1000);
printf("%d.%03f", floatround(result), variable-(floatround(result)*1000)); //resultado: 70.058.0
pawn Код:
new Float:variable = 70058.0;
printf("%f", variable/1000);//resultado: 70.058