Result of division not quite correct