Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mark petrak
 
Posts: n/a
Default quick Q about large numbers


if i was to enter a credit card number in excel it auto formats it to
this
1.23412E+15
for this number 1234123412341234

and when i enter it in and format it as a number it makes the last
number a 0 ?
1234123412341230

why?

how to fix?


--
mark petrak
------------------------------------------------------------------------
mark petrak's Profile: http://www.excelforum.com/member.php...o&userid=26804
View this thread: http://www.excelforum.com/showthread...hreadid=473146

  #2   Report Post  
swatsp0p
 
Posts: n/a
Default


You need to enter this type of 'number' as text... precede with an
apostrophe ( ' ).

I assume you will NOT be doing any mathematically calculations with
this 'number'.

For numbers, Excel will only display 15 digits... it's long story that
is discussed in depth in other posts... do a search if you want more
details...

HTH

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=473146

  #3   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

The story is not that long. Computers necessarily have finite
precision. Excel's (and almost all other software's) precision is
defined by the IEEE standard for double precision, which can represent
all 15 digit numbers, but only some 16 digit numbers. Hence MS chose to
document (see Help for "Excel specifications and limits") that they
would only display 15 digits rather than have to answer questions about
why when you enter certain 16 digit number you get back different 16
digit numbers.

Jerry

swatsp0p wrote:

You need to enter this type of 'number' as text... precede with an
apostrophe ( ' ).

I assume you will NOT be doing any mathematically calculations with
this 'number'.

For numbers, Excel will only display 15 digits... it's long story that
is discussed in depth in other posts... do a search if you want more
details...

HTH

Bruce


  #4   Report Post  
swatsp0p
 
Posts: n/a
Default


Thanks for the follow up, Jerry. You told the 'story' so much better
than I ever could have!

Cheers.


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=473146

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
large binary numbers Himu Excel Worksheet Functions 4 July 27th 05 02:53 AM
Sorting alphanumeric numbers maurice.centner Excel Discussion (Misc queries) 2 May 6th 05 02:00 AM
Validating random numbers plsauditor Excel Worksheet Functions 2 January 11th 05 11:12 PM
GET NON-ZERO RESULTS USING STDEV FOR CERTAIN NUMBERS Non-zero return for Stdev Excel Worksheet Functions 2 December 16th 04 08:44 AM
finding common numbers in large lists Jenn Excel Worksheet Functions 1 November 11th 04 07:42 PM


All times are GMT +1. The time now is 04:43 PM.

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"