Convert damage to an integer.