• Post Reply Bookmark Topic Watch Topic
  • New Topic

Using a long variable  RSS feed

 
wiki dasandhi
Greenhorn
Posts: 1
Hibernate Java ME MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i store a value in long type variable whose ranglee is greater than int type variab
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wiki dasandhi wrote:how can i store a value in long type variable whose ranglee is greater than int type variab

What's a ranglee ?
The only thing I could guess it was a typo of is range, but longs can hold a much larger range of numbers than an int, so you may have to explain your problem a bit more.
 
Campbell Ritchie
Marshal
Posts: 56599
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean how do you write a long literal? If you use the correct jargon, people will understand you.
Start reading here in the Java Language Specification. But the Java Tutorials page is probably easier to understand.
 
Campbell Ritchie
Marshal
Posts: 56599
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!