Max value of Long Int

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Don't have my reference book with me and I can't beleive how hard it is to
find in the help but does anyone know the max value of a long integer. Can't
remember if it's around 4.29 billion or 2.?? billion. Thought it was
(256*4)-1.
 
Don't have my reference book with me and I can't beleive how hard it is to
find in the help but does anyone know the max value of a long integer. Can't
remember if it's around 4.29 billion or 2.?? billion. Thought it was
(256*4)-1.

2147483647

From the Windows Calculator, advanced mode; entered 7FFFFFFF in Hex
mode and switced to Decimal.

The 4.29 billion is the total number of long integers (positive and
negative) that are available, say for Autonumbers.

John W. Vinson[MVP]
 
Thank you. Just noticed I wrote this out wrong: >(256*4)-1, ment to write
(256^4)-1 which gives the 4.29 billion. forgot to devide by 2 before
subtraciting 1 - (256^4)/2 -1 which gives 2147483647 also.
 

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

Back
Top