Round

  • Thread starter Thread starter Guest
  • Start date Start date
Function Round or Int Or Format

Round(2.44) will return 2
Round(2.55) will return 3
Round(2.55,1) will return 2.6
Round(2.54,1) will return 2.5

Int(2.44) will return 2
Int(2.55) will return 2

Format(2.55,"#") will return 3
Format(2.44,"#") will return 2
 
It's for a dollar amount and I just want to round to the whole dollar. Is
there a simple expression I can use?
 
pgarcia said:
It's for a dollar amount and I just want to round to the whole
dollar. Is there a simple expression I can use?

OK how about this question

$1.00 = 1

$1.01 = ?? $1 or $2

$1.49 = ?? $1 or $2

$1.50 = ?? $1 or $2

$1.51 = ?? $1 or $2

$1.99 = ?? $1 or $2

Those answers are all correct depending on the rounding you want.
 
<quibble>
That's not Banker's Rounding. Banker's Rounding always rounds .5 to the
closest even value. In other words, it would round both $1.50 and $2.50 to
$2.
</quibble>
 
Douglas said:
<quibble>
That's not Banker's Rounding. Banker's Rounding always rounds .5 to
the closest even value. In other words, it would round both $1.50 and
$2.50 to $2.
</quibble>

Now that I think about it, you are right. I have been out of the
business too long. (Thank God)
 

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

Blood pressure monitor 3
Rounding Trick 1
News CES 2019 round up 6
Bankers Rounding 1
rounding dependent on value 2
Round Up a Decimal 6
Round to nearest quarter 5
Access 2007: % fields rounding to nearest integer 3

Back
Top