Warum kein float, dann kannst du zum Runden auch floor() aus math.h benutzen.