freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Thompson, Bill D (London)" <ThompBil AT exchange.uk.ml.com>
- To: "'TDS Development Group'" <freetds AT franklin.oit.unc.edu>
- Subject: RE: testing money type conversions
- Date: Thu, 18 Jul 2002 15:13:30 +0100
jkl,
I've decided to use long longs - seems fine to me so far. That's all a money
type is ( with 4 implicit decimal places ).
I've typedef'd TDS_MONEY as a long long
and typedef'd CS_MONEY to be TDS_MONEY, and it all falls into place.
the only risk is what to do if long longs are not supported...
I'm a bit worried about the autoconf stuff. I know nada about that, but I
guess we'll sort it out later.
Bill
> -----Original Message-----
> From: Lowden, James K [SMTP:LowdenJK AT bernstein.com]
> Sent: Thursday, July 18, 2002 2:55 PM
> To: TDS Development Group
> Subject: [freetds] RE: testing money type conversions
>
> > From: Bill Thompson [mailto:thompbil AT exchange.uk.ml.com]
> > Sent: July 18, 2002 8:13 AM
> >
> > tum te tum...think I'll just test my money conversions...
> >
> > [sound of head smacking keyboard, repeatedly, for 4 hours]
>
> Reaction 1: Ouch!
> Reaction 2: Don't do that! Have you seen the price of keyboards lately?
>
> Reaction 3: Money is overrated, especially cs_money.
>
> I assume you found tdsmoney.
>
> What did you decide about 64-bit integer math?
>
> --jkl
>
> ---
> You are currently subscribed to freetds as: [thompbil AT exchange.uk.ml.com]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
-
testing money type conversions,
Bill Thompson, 07/18/2002
- <Possible follow-up(s)>
- RE: testing money type conversions, Lowden, James K, 07/18/2002
- RE: testing money type conversions, Thompson, Bill D (London), 07/18/2002
Archive powered by MHonArc 2.6.24.