def getDOT(dot): if (len(dot) > 1): result = int(dot) else: result = null return result
def getDOT(dot): try: result = int(dot) except: result = Null finally: return result
def getDOT(dot): if (isinstance(int(dot), int)): result = int(dot) else: result = None return result
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.