how to round off foating number in c programming code example Example: round C float f = 0.5; round(f);