C Extract Whole Part from Fractions