11.02.2015, 14:03
IsFloat(Float:number)
Useful to check if a number is a float or not.
Useful to check if a number is a float or not.
pawn Код:
//By ThePhenix
stock IsFloat(Float:number)
{
new intPart = floatround(number), intPart2 = intPart+1;
if((intPart2 - number) != (intPart2 - intPart)) return true;
return false;
}