Minecraft wiki entry for Damage, associated text: Health and damage are stored as floating-point numbers in units of half-hearts. When displaying the HUD, fractional values are rounded up to the next integer.