Currency and Decimal points

  • Thread starter Thread starter tom
  • Start date Start date
T

tom

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.
 
tom said:
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. :-)
 
tom said:
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.

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top