Float-to-integer conversion in C can be done like this:
int i;
float f;
f=27.35;
i=(int)(f);
As far as I know C's floating to integer conversion truncates (discards) the fractional part. This leaves the integer part of the float as result.
In the Pelles 6.0 help (the part about the microsoft extensions compiler switch) there are 2 ways of float-to-integer conversions mentioned... chopping and limiting. Can someone tell me the difference as it's not really clear to me.