

def format(self, value):
    try:
        return float(value)
    except ValueError as ve:
        raise MarshallingException(ve)

dataset/ETHPy150Open flask-restful/flask-restful/flask_restful/fields.py Float.format/original