+ Reply to Thread
Results 1 to 2 of 2

rounding numbers for match function

  1. #1
    erc_blair
    Guest

    rounding numbers for match function

    I should add that I am using the "MROUND" function to round z* to multiples
    of 0.2. All is fine for 0.2, 0.4, 0.8, and 1, but NOT for 0.6 and 1.2 (?!?)

  2. #2
    Jerry W. Lewis
    Guest

    RE: rounding numbers for match function

    It is not clear exactly what calculation is failing, but 0.2 (along with most
    floating ponit numbers) has no exact binary representation, hence
    MROUND(x,.2) may produce unexpected results. This is a natural consequence
    of the way computers represent numbers, and is not unique to Excel.

    Jerry

    "erc_blair" wrote:

    > I should add that I am using the "MROUND" function to round z* to multiples
    > of 0.2. All is fine for 0.2, 0.4, 0.8, and 1, but NOT for 0.6 and 1.2 (?!?)


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1