def serialize(self, value):
        if type(value) is self.type_:
            return self.format % value
        return unicode(value)
Generic numeric serialization.
dataset/ETHPy150Open jek/flatland/flatland/schema/scalars.py/Number.serialize