Rounding

  • Thread starter Thread starter Jeff Kaufman
  • Start date Start date
J

Jeff Kaufman

I am currently using Microsoft Access 2003... In my query I have a
calculation on two existing fields from a table. How to I have the results
of this calculation return only 2 decimal places in the result?
 
Hi Jeff,

You can use the built-in Round function to round to two decimal places, if
"Banker's Rounding" will suit your needs. This is the type of rounding that
is applied with the Round function. You can Google or Bing the term Bankers
Rounding to learn more about this method.

In the query field row, you can add the Round function something like this:

ColumnAlias: Round(YourCalculationHere, 2)


Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________
 
Straight from the help file:

Round(expression [,numdecimalplaces])

Regards

Kevin
 
PS. Here is some additional information on rounding, in the event that the
built-in Banker's Rounding (ie. the Round function) is not suitable for your
needs:

http://my.advisor.com/doc/08884


Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________

:

Hi Jeff,

You can use the built-in Round function to round to two decimal places, if
"Banker's Rounding" will suit your needs. This is the type of rounding that
is applied with the Round function. You can Google or Bing the term Bankers
Rounding to learn more about this method.

In the query field row, you can add the Round function something like this:

ColumnAlias: Round(YourCalculationHere, 2)


Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________

:

I am currently using Microsoft Access 2003... In my query I have a
calculation on two existing fields from a table. How to I have the results
of this calculation return only 2 decimal places in the result?
 

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

Similar Threads

Where/how to set rounding property for a Query field 7
Excel Stop Excel from displaying rounded values 4
Rounding 10
Bankers Rounding 1
Round up number 2
0 Decimal places/round function. 4
Rounding Values 2
Rounding Problem... 3

Back
Top