Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Round function

I've been programming Access for 10 years and am embarrased to ask this
question, but here goes. I'm using a template and am making minor
adjustments. I've never heard of rounding, What is the difference between:

=ROUND(SUM(AB29:AB36),5)

and

SUM(AB29:AB36)

Rhonda
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 99
Default Round function

H

=ROUND(0.000004+1,5)
returns 1.00000
=ROUND(0.000005+1,5)
returns 1.00001

PS! There is same function in Access too, but Access uses 'Bankes rounding'
algorithm.


Arvi Laanemets


"R Marko" wrote in message
...
I've been programming Access for 10 years and am embarrased to ask this
question, but here goes. I'm using a template and am making minor
adjustments. I've never heard of rounding, What is the difference

between:

=ROUND(SUM(AB29:AB36),5)

and

SUM(AB29:AB36)

Rhonda



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default Round function

"Arvi Laanemets" wrote:
....
PS! There is same function in Access too, but Access uses 'Bankes rounding'
algorithm.


So does the round function in Excel's VBA.

Have bankers ever rounded in this way? If not, how did it come to be called
"bankers rounding"? My question is on terminology, not methodolgy. The
method has been advocated for decades by ASTM and most other standards
bodies, but the MS KB terminology seems to be without support.

Jerry
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 510
Default Round function

Hi

Google search didn't give any clear relation between bankers and 'bankers
rounding' :-), but I stumbled there over a link with a lot of interesting
stuff about subject:
http://ewbi.blogs.com/develops/2003/...und_yet_a.html



--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"Jerry W. Lewis" wrote in message
...
"Arvi Laanemets" wrote:
...
PS! There is same function in Access too, but Access uses 'Bankes
rounding'
algorithm.


So does the round function in Excel's VBA.

Have bankers ever rounded in this way? If not, how did it come to be
called
"bankers rounding"? My question is on terminology, not methodolgy. The
method has been advocated for decades by ASTM and most other standards
bodies, but the MS KB terminology seems to be without support.

Jerry



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default Round function

The author wasn't joking when he warned that "this post gets long"; I was
hard pressed to find a point in all of that verbage, but I did learn
something from his use of FormatNumber to always round 5's up (which I rarely
want to do).

His concern that the VBA Round() function is much more sensitive to binary
representations than the Excel Round() function is something that I have been
pointing out for years in these news groups, with the recommendation that you
rescale to round to the nearest one and then use Round(CDbl(CStr(x)),0) to
avoid surprises
http://groups.google.com/group/micro...7fce6145b70d69

I would have liked to follow his Eric Lippert Banker's Rounding link, but it
is currently unavailable.

Jerry

"Arvi Laanemets" wrote:

Hi

Google search didn't give any clear relation between bankers and 'bankers
rounding' :-), but I stumbled there over a link with a lot of interesting
stuff about subject:
http://ewbi.blogs.com/develops/2003/...und_yet_a.html



--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"Jerry W. Lewis" wrote in message
...
"Arvi Laanemets" wrote:
...
PS! There is same function in Access too, but Access uses 'Bankes
rounding'
algorithm.


So does the round function in Excel's VBA.

Have bankers ever rounded in this way? If not, how did it come to be
called
"bankers rounding"? My question is on terminology, not methodolgy. The
method has been advocated for decades by ASTM and most other standards
bodies, but the MS KB terminology seems to be without support.

Jerry






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Round function

Why would we use rounding rathen than the simple formula, if the result is
currency format?

"Arvi Laanemets" wrote:

H

=ROUND(0.000004+1,5)
returns 1.00000
=ROUND(0.000005+1,5)
returns 1.00001

PS! There is same function in Access too, but Access uses 'Bankes rounding'
algorithm.


Arvi Laanemets


"R Marko" wrote in message
...
I've been programming Access for 10 years and am embarrased to ask this
question, but here goes. I'm using a template and am making minor
adjustments. I've never heard of rounding, What is the difference

between:

=ROUND(SUM(AB29:AB36),5)

and

SUM(AB29:AB36)

Rhonda




  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Round function

See

http://www.mcgimpsey.com/excel/pennyoff.html

for some examples.

In article ,
R Marko wrote:

Why would we use rounding rathen than the simple formula, if the result is
currency format?

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Round function

I get it now. Thank you

"JE McGimpsey" wrote:

See

http://www.mcgimpsey.com/excel/pennyoff.html

for some examples.

In article ,
R Marko wrote:

Why would we use rounding rathen than the simple formula, if the result is
currency format?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Round function plantslayer Excel Discussion (Misc queries) 3 June 4th 08 05:49 PM
Round up function shifty Excel Discussion (Misc queries) 3 December 31st 07 11:59 AM
Round Len Function Help [email protected] Excel Worksheet Functions 16 August 25th 06 04:27 AM
Round function Gian Excel Programming 4 January 23rd 06 04:17 PM
VB Round( ) function Andrew[_24_] Excel Programming 10 November 13th 03 03:23 AM


All times are GMT +1. The time now is 02:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"