lesscpy/lessc/utility.py
def is_float(value):
    """ Is value float
    args:
        value (str): string
    returns:
        bool
    """
    if not is_int(value):
        try:
            float(str(value))
            return True
        except (ValueError, TypeError):
            pass
    return False
def is_float(value):
    """ Is value float
    args:
        value (str): string
    returns:
        bool
    """
    if not is_int(value):
        try:
            float(str(value))
            return True
        except (ValueError, TypeError):
            pass
    return False
def is_float ( value ) : if not is_int ( value ) : try : float ( str ( value ) ) return True except ( ValueError , TypeError ) : pass return False
Is value float
    args:
        value (str): string
    returns:
        bool
Is value float args : value ( str ) : string returns : bool