Added a check so a 'pure number' entered as string will be handled purely as a number.