1/2 is float, probably that's the reason you got numerical answer...