#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Rounding on Entry

When I enter "2446921240995606" in a cell formatted as a number
and hit enter, the last digit is altered to a zero. the result I get is
"2446921240995600".

Is there a way to keep it from being changed without formatting it as text?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 116
Default Rounding on Entry

no there is not... excel only takes 15 digits for numbers.. after that.. no
choice but text..


"Fellow Wanderer" wrote:

When I enter "2446921240995606" in a cell formatted as a number
and hit enter, the last digit is altered to a zero. the result I get is
"2446921240995600".

Is there a way to keep it from being changed without formatting it as text?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 837
Default Rounding on Entry

Not all 16 digit integers have exact representations in IEEE double precision
(used by Excel and almost all other software). 2446921240995606 happens to
be one that can be exactly represented. You can obtain that value as
=611730310248901*4+2
but it will display as 2446921240995610, since Excel displays no more than
15 digits. You can verify that it actually has the correct value by using my
functions at
http://groups.google.com/group/micro...06871cf92f8465

Jerry

"Fellow Wanderer" wrote:

When I enter "2446921240995606" in a cell formatted as a number
and hit enter, the last digit is altered to a zero. the result I get is
"2446921240995600".

Is there a way to keep it from being changed without formatting it as text?

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
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Highlight Duplicate on entry jk Setting up and Configuration of Excel 2 July 15th 06 10:46 AM
How do I compare the entry in one cell against all other cells Micki Excel Discussion (Misc queries) 1 February 10th 06 02:46 AM
limit text entry in a range of cells QTPRM Excel Discussion (Misc queries) 2 May 25th 05 03:52 AM
double-clicking a list entry Sally Sibthorpe Excel Discussion (Misc queries) 2 February 25th 05 04:31 PM


All times are GMT +1. The time now is 01:32 PM.

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

About Us

"It's about Microsoft Excel"