def divide_by(value, arg):
    """
    Returns the result of the division of value with arg.
    """
    result = 0
    try:
        result = value / arg
    except:
        # error in division
        pass
    return result