long int lroundf(float x);
lroundf rounds x to an integral value, with halfway cases rounded away from zero, and returns it as a long int.