correction in user's answer transformation to float