We help IT Professionals succeed at work.

VB.net 2010 long integer

Murray Brown
Murray Brown used Ask the Experts™
on
Hi

In VB.net 2010 what data type can holder an integer that has over 10 character long.

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
integer
Most Valuable Expert 2012
Top Expert 2014
Commented:
Murray BrownASP.net/VBA/VSTO Developer

Author

Commented:
Hi. What is the longest integer data type
An unsigned integer can have a max value of 4,294,967,295

An unsigned long can have a max value of 18,446,744,073,709,551,615

See http://msdn.microsoft.com/en-us/library/s3f49ktz%28v=VS.100%29.aspx

Commented:
Sorry, didn't mean to post that.

  Dim int As Long = 1234567890123
Murray BrownASP.net/VBA/VSTO Developer

Author

Commented:
thanks very much