Round down

P

Pam

I have a number with 2 decimal places in a query. I want
to run down to the nearest whole number, even if the
number is 5.99 I want to round down to 5.
 
R

Roxie Aho

-----Original Message-----
I have a number with 2 decimal places in a query. I want
to run down to the nearest whole number, even if the
number is 5.99 I want to round down to 5.
.
Try Fix([UnitPrice]) or Expr1: Int([UnitPrice]). They
work the same for positive numbers. For negative numbers
they operate differently. For -2.3 Fix will return -2
while Int will return -3

Roxie Aho
roxiea at usinternet.com
 
R

Rosco

Pam said:
I have a number with 2 decimal places in a query. I want
to run down to the nearest whole number, even if the
number is 5.99 I want to round down to 5.

Try this:
Expr1: Int([Table_Name]![Field_Name])

Rosco
 
P

Pam

Thank you both this worked great!!!!
-----Original Message-----
"Pam" <[email protected]> wrote in
message news: said:
I have a number with 2 decimal places in a query. I want
to run down to the nearest whole number, even if the
number is 5.99 I want to round down to 5.

Try this:
Expr1: Int([Table_Name]![Field_Name])

Rosco
.
 

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

Top