def round_if_near_integer(a, epsilon=1e-4):
    if abs(a - round(a)) <= epsilon:
        return round(a)
    else:
        return a
Unquotes a valid URI path back to its filename.
dataset/ETHPy150Open quantopian/zipline/zipline/utils/math_utils.py/round_if_near_integer--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/appengine-opencv-sudoku-python/cloudstorage/api_utils.py/_unquote_filename