Why don't you just use a double and increment by .5 instead of using an int and incrementing by 1?