convert numeric string to number automatically