PC Review


Reply
Thread Tools Rate Thread

Currency and Decimal points

 
 
tom
Guest
Posts: n/a
 
      6th Dec 2006
It is my understanding that Access only handles
currency to four decimal point accuracy.

Is this true, and is there an easy workaround if it is.
It is turning into a minor problem lately as it seems like
more and more people are going to five places.


 
Reply With Quote
 
 
 
 
Joseph Meehan
Guest
Posts: n/a
 
      6th Dec 2006
tom wrote:
> It is my understanding that Access only handles
> currency to four decimal point accuracy.
>
> Is this true, and is there an easy workaround if it is.
> It is turning into a minor problem lately as it seems like
> more and more people are going to five places.


Don't use currency data type. :-)

--
Joseph Meehan

Dia 's Muire duit



 
Reply With Quote
 
Jamie Collins
Guest
Posts: n/a
 
      7th Dec 2006

tom wrote:

> It is my understanding that Access only handles
> currency to four decimal point accuracy.
>
> Is this true, and is there an easy workaround if it is.
> It is turning into a minor problem lately as it seems like
> more and more people are going to five places.


Use DECIMAL(20, 5), or DECIMAL(21, 6) employing the extra decimal place
to implement a custom rounding alorithm (the DECIMAL type exhibits
symmetric truncation by nature).

Like the CURRENCY type, DECIMAL is fixed point, called an 'exact
numeric type' in the SQL-92 standard, but without the inherent rounding
rules, etc.

For monetary data do not, repeat, do not use floating point (Single and
Double), described as 'approximate numeric types' the the SQL standard.

Jamie.

--

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How can I convert decimal commas to decimal points? Peo Sjoblom Microsoft Excel Misc 0 2nd Oct 2007 10:18 PM
How can I convert decimal commas to decimal points? =?Utf-8?B?UGV0ZXlsZXBpZXU=?= Microsoft Excel Misc 0 2nd Oct 2007 10:11 PM
VBA code outputs currency value rounded to 2 decimal points tamarack007@gmail.com Microsoft Excel Programming 7 2nd Sep 2007 01:01 PM
Adding or delete decimal points in column of currency figures =?Utf-8?B?c2NyMTMxMA==?= Microsoft Access 7 11th Jan 2006 08:36 PM
Displaying a decimal with 2 decimal places (ie currency!) Scott Microsoft VB .NET 2 6th Mar 2005 04:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:44 AM.