Automatic Rounding up

N

NN

In Excel while writing a 16 digit number the last digit is always rounded to
"0". Eg. while writing the number 4030020530156015, the display number is
4030020530156010. Why? however a 15 digit number is displayed as such.
 
M

Mike

It's to do with the way excel handles numbers. Excel handles up to 15 digits
of precision so if you want to use more; credit card No's for example then
prece3d the number with a ' and it will be displayed correctly.

Mike
 
N

NN

Thanks. But i would like to use these values to run Luhn algorithm. These are
credit card numbers.
 
D

David Biddulph

If you use the MID() function to extract characters from the 16 character
text string, you can do the relevant arithmetic on the digits you've
extracted.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top