def __call__(self, value):
        """
        Converts a value to an int and formats it.
        """
        if not isinstance(value, six.integer_types):
            try:
                value = round(value)
            except __HOLE__:
                pass
            value = int(value)
        return self.format(value)



#-------------------------------------------------------------------------------
dataset/ETHPy150Open twosigma/ngrid/ngrid/formatters.py/IntFormatter.__call__