Click here to Skip to main content
16,013,338 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
value was either too large or too small for an int32. how can i solve this when am converting value "2320120813" to int ?
Posted
Comments
AmitGajjar 1-Sep-12 7:33am    
use int64!!!!

You can't - the maximum value of an int is 2,147,483,647.
You can use a UInt (4,294,967,295) or a long (9,223,372,036,854,775,807) though.
 
Share this answer
 
Use int64(long). instead of int32
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900