List:General Discussion« Previous MessageNext Message »
From:Jan Steinman Date:October 23 2002 5:53pm
Subject:Re: Rounding floats
View as plain text  
>From: "Michael T. Babcock" <mbabcock@stripped>
>Kenneth Hylton wrote something about SQL or QUERYs:
>>I NEVER use float or double to store values like you appear to be doing...
>FWIW, all of our financial database software stores values in either pennies or tenths
> of a cent, not dollars, to avoid decimals altogether.

FLOAT + money = lawsuit :-)

-- 
---- SQL SQL SQL SQL SQL SQL SQL SQL  ----
: Jan Steinman -- nature Transography(TM): <http://www.Bytesmiths.com>
: Bytesmiths -- artists' services: <http://www.Bytesmiths.com/Services>
Thread
Rounding floatsMichael T. Babcock23 Oct
Re: Rounding floatsJan Steinman23 Oct
  • Re: Rounding floatsgerald_clark23 Oct
    • RE: Rounding floatsJon Frisby23 Oct
      • Vague error message...Jon Frisby23 Oct