how to round up to the nearest whole number in c code example Example: round C float f = 0.5; round(f);