28.07.2010, 08:23
I can give you my functions so you can convert Float to Digit
pawn Код:
forward FloatToDigit(Float:Value);
forward Float:DigitToFloat(Value);
public FloatToDigit(Float:Value)
{
new string[256];
format(string,256,"%.0f",Value);
new Digit = strval(string);
return Digit;
}
public Float:DigitToFloat(Value)
{
new string[256];
format(string,256,"%d",Value);
new Float:Digit = floatstr(string);
return Digit;
}