text: public String FormatAsString(){switch (_cellType){case CellType.Numeric:string result = _numberValue.ToString(CultureInfo.InvariantCulture);return result;case CellType.String:return '"' + _textValue + '"';case CellType.Boolean:return _boolValue ? "TRUE" : "FALSE";case CellType.Error:return ErrorEval.GetText(_errorCode);}return "<error unexpected cell type " + _cellType + ">";}