PC Review


Reply
Thread Tools Rate Thread

Currency column rounding up or down

 
 
SIMON GARE
Guest
Posts: n/a
 
      17th Feb 2006
Hi,

I have a table with a list of values in currency, the only problem is that
when you enter a value the digits after the decimal point are rounded up or
down.

Example if you enter 2.40 it rounds down to 2.00 and if you enter 2.80 it
rounds up to 3.00

My setting are

DATA TYPE = NUMBER
FIELD SIZE = LONG INTEGER
FORMAT = CURRENCY
DECIMAL PLACES = AUTO

Thanks in advance

Simon


 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      17th Feb 2006
Change the data type to Currency.

The integer types can store only whole numbers, so are not suitable if you
want fractions of a dollar (i.e. cents).

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"SIMON GARE" <(E-Mail Removed)> wrote in message
news:OJREGJ%(E-Mail Removed)...
>
> I have a table with a list of values in currency, the only problem is that
> when you enter a value the digits after the decimal point are rounded up
> or
> down.
>
> Example if you enter 2.40 it rounds down to 2.00 and if you enter 2.80 it
> rounds up to 3.00
>
> My setting are
>
> DATA TYPE = NUMBER
> FIELD SIZE = LONG INTEGER
> FORMAT = CURRENCY
> DECIMAL PLACES = AUTO
>
> Thanks in advance
>
> Simon



 
Reply With Quote
 
Joseph Meehan
Guest
Posts: n/a
 
      17th Feb 2006
SIMON GARE wrote:
> Hi,
>
> I have a table with a list of values in currency, the only problem is
> that when you enter a value the digits after the decimal point are
> rounded up or down.
>
> Example if you enter 2.40 it rounds down to 2.00 and if you enter
> 2.80 it rounds up to 3.00
>
> My setting are
>
> DATA TYPE = NUMBER
> FIELD SIZE = LONG INTEGER


Integer = Integer A member of the set of positive whole numbers (1, 2,
3, . . . ), negative whole numbers (-1, -2, -3, . . . ), and zero

Make the field type Currency and you should be ready to go.


> FORMAT = CURRENCY
> DECIMAL PLACES = AUTO
>
> Thanks in advance
>
> Simon


--
Joseph Meehan

Dia duit


 
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
Formula for rounding a column of currency to a multiple =?Utf-8?B?R2Vub0JhbWJpbm8=?= Microsoft Excel Worksheet Functions 1 14th Apr 2006 02:08 AM
currency and rounding =?Utf-8?B?TWlrZUM=?= Microsoft Access 0 24th Feb 2006 06:37 PM
Rounding currency UP not down Nancy Lytle Microsoft Access Queries 2 7th Oct 2005 08:13 PM
rounding up currency larry Microsoft Excel Worksheet Functions 1 9th Apr 2004 05:59 PM
rounding up currency malcolmmabe@hotmail.com Microsoft Access Form Coding 1 19th Feb 2004 12:49 PM


Features
 

Advertising
 

Newsgroups
 


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