J
John Bawls
Try this:
1. Change the format of cell A1 to 'number' with no decimal places.
2. Enter 15 ones in cell A1 and hit enter: "111111111111111"
Excel will display "111111111111111" in the cell.
3. Now, enter 16 ones and hit enter: "1111111111111111"
Excel will display "1111111111111110" in the cell.
Why does Excel omit the last digit entered and put in a zero? This
works for any number with digits greater than 15. Rounding error? Is
the default value in a cell stored as a single precision variable
instead of a double, like in VBA? Is there a way around this?
John
1. Change the format of cell A1 to 'number' with no decimal places.
2. Enter 15 ones in cell A1 and hit enter: "111111111111111"
Excel will display "111111111111111" in the cell.
3. Now, enter 16 ones and hit enter: "1111111111111111"
Excel will display "1111111111111110" in the cell.
Why does Excel omit the last digit entered and put in a zero? This
works for any number with digits greater than 15. Rounding error? Is
the default value in a cell stored as a single precision variable
instead of a double, like in VBA? Is there a way around this?
John