gecosistema_lite/strings.py
def isnumeric(text):
    """
    isnumeric - a simple implementation
    (TODO: numbers with exponent)
    """
    text = text.strip()
    dot = False
    for i in range(0, len(text)):
        c = text[i]
        if i == 0 and c in "+-":
            continue
        if c == "." and not dot:
            dot = True
            continue
        if not c.isdigit():
            return False
    return True

    isnumeric - a simple implementation
    (TODO: numbers with exponent)
    
a simple implementation
(TODO: numbers with exponent)
a simple implementation ( TODO : numbers with exponent )
def isnumeric(text):
    text = text.strip()
    dot = False
    for i in range(0, len(text)):
        c = text[i]
        if i == 0 and c in "+-":
            continue
        if c == "." and not dot:
            dot = True
            continue
        if not c.isdigit():
            return False
    return True
def isnumeric ( text ) : text = text . strip ( ) dot = False for i in range ( 0 , len ( text ) ) : c = text [ i ] if i == 0 and c in "+-" : continue if c == "." and not dot : dot = True continue if not c . isdigit ( ) : return False return True
isnumeric - a simple implementation
(TODO: numbers with exponent)
isnumeric - a simple implementation ( TODO : numbers with exponent )
"""
    isnumeric - a simple implementation
    (TODO: numbers with exponent)
    """
text