Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hecka long integer?

Status
Not open for further replies.

Iceman2005

Programmer
May 6, 2005
22
US
guys, i need to fit a very long number into a variable, how do i do that?

let say about 12 digits unsigned. so how?

i cant seem to be able to fit it into

long num;
or
unsigned long num; or int or anything.

seems like max number i can put in any integer is
2147483647

i need to put a much bigger number, so how?

thanks,
755
 
Try an _int64 (MS specific). That should give you up to 9,223,372,036,854,775,808

64 bits outta be enough for anyone. ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top