• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in converting String to Number  RSS feed

 
Arif Rizwan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i am Arif i am getting run time Exception while converting String to Number please any one can advice me


Here i am calling above Method convertToNumber().

this is an Exception which i am getting at Run time


 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That number is too big for int - use long instead.

http://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!