+ Reply to Thread
Results 1 to 2 of 2

Function adds .0000000001 to my sum.

  1. #1
    Registered User
    Join Date
    07-02-2013
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    2

    Unhappy Function adds .0000000001 to my sum.

    I made a spreasheet for a coworker to use. I tested the formula out on my computer and it all worked fine. She gets errors like ...(124)-(123)=(1.00000000000001)

    As far as i know, we both have the same version of excel 2010...

    I have them set as Currency to 2 decimal places, the "sample" shows that the answer will be "$1.00" but it shows up "1.0000000001"

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Function adds .0000000001 to my sum.

    Your computer (and therefore Excel) uses binary floating point arithmetic, which cannot store most decimals exactly. Use ROUND.
    Entia non sunt multiplicanda sine necessitate

+ 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