+ Reply to Thread
Results 1 to 6 of 6

Over 16 Digits produces all zeros

  1. #1
    Registered User
    Join Date
    05-01-2009
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    2

    Over 16 Digits produces all zeros

    when I enter a number that has 16 digits the 16th digit turns to Zero no matter what I enter. Also, any numbers past the 16th digit show zero's

    I dont really want to change the format to text ( although that fixes the problem) I would like to keep it in a number format of some kind.

    Is there a way to fix this problem?

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

    Re: Over 16 Digits produces all zeros

    Your computer only stores numbers to 16 digit precision. For any longer numeric string, you must use text.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    05-01-2009
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Over 16 Digits produces all zeros

    So the 16th digit itself will always be zero? Because if I use only 15 digits it works fine ... but when I add the 16th that one always turns to zero.

    is that correct??

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

    Re: Over 16 Digits produces all zeros

    Sorry, 15 significant digits. Double-precision floating point numbers actually have a little better precision than that, but Excel does some cosmetic rounding and never shows more than 15.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Over 16 Digits produces all zeros

    It's not really a problem to format these long numbers as text. You can still do math on text strings that appear to be actual numbers.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

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

    Re: Over 16 Digits produces all zeros

    But not using precision beyond 15 digits.

+ 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