

def encodeValue(self, value):
    'Return string containing encoded ``value``.'
    return struct.pack('<q', round((value * 10000)))

dataset/ETHPy150Open kennethreitz/tablib/tablib/packages/dbfpy3/fields.py DbfCurrencyFieldDef.encodeValue/original