tuple(int, int) --> FixedPoint; is there a better way?

Bengt Richter bokr at oz.net
Mon Dec 2 17:56:19 EST 2002


On 2 Dec 2002 03:12:18 -0800, Henrik.Weber at sys.aok.de (Henrik Weber) wrote:

>Hello,
>
>I have selected a value from a currency type column in MS Access using
>ADO. The currency type in Access is a 64 bit integer with 4 decimal
>places precision. Somewhere between the database and my program this
>gets turned into a tuple of two 32 bit integers, the first one signed
>and the second one unsigned.
>
I don't know, but IWT there ought to be a way to get Access to give you the value
as a decimal string with 4 digits to the right of the decimal point.
Then Fixedpoint should be able to take that directly with no fuss.

Regards,
Bengt Richter



More information about the Python-list mailing list