def _saferound(value, decimal_places):
    """
    Rounds a float value off to the desired precision
    """
    try:
        f = float(value)
    except __HOLE__:
        return ''
    format = '%%.%df' % decimal_places
    return format % f
dataset/ETHPy150Open eyeseast/python-tablefu/table_fu/formatting.py/_saferound