21.08.2011, 22:26
It is used for saving a whole number. It does not work as a float. You can try that yourself! Use Pawno and the main() function. Let me give you an example!
new Float:a, Float:b;
main()
{
a = 10;
b = 5;
printf("a/b = %d",floatdiv(a,b));
}
new Float:a, Float:b;
main()
{
a = 10;
b = 5;
printf("a/b = %d",floatdiv(a,b));
}

