hmm... this was the page i saw that seemed to strongly suggest that the money datatype could be problematic in terms of accuracy (even provided sample SQL to run in query analyzer to see the results):
http://tinyurl.com/6fh8hl On Tue, Jun 10, 2008 at 9:55 AM, Jacob <[EMAIL PROTECTED]> wrote: > Well... I use the money datatype in SQL server for our prices. I have had > not issues. > > When we output, we use #dollarformat(queryname.price)#. Works for what we > do. > > -----Original Message----- > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2008 9:23 AM > To: CF-Talk > Subject: Money datatype in SQL Server > > Is there any "bottom line" recommendation on using the Money datatype > in SQL Server? I've googled and found a lot of folks say not to use > it because of accuracy issues (and of course, the fact that it's > proprietary), but I haven't seen any that suggest a better > alternative. > > My understanding is that Money is exactly the same as Decimal(19,4)... > so if there are accuracy issues with Money, wouldn't those same issues > exist with a Decimal datatype? I saw one link that suggested that > Floats would be the most accurate... but I thought floats were > inherently *not* accurate. > > Can anybody shed a bit of light? > > Thanks! > Charlie > > -- > A byte walks into a bar and orders a pint. Bartender asks him "What's > wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I > thought you looked a bit off." > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307181 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4