• Post Reply Bookmark Topic Watch Topic
  • New Topic

parse integer value in GWT  RSS feed

 
Ashu Bharadwaj
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How to parse integer value entered in TextBox in GWT?

Thanks
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not familiar with GWT but doesn't it have a number-only-textbox or something similar? You can always use Integer.parseInt()
 
Ashu Bharadwaj
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wouter Oet wrote:I'm not familiar with GWT but doesn't it have a number-only-textbox or something similar? You can always use Integer.parseInt()


Thank you for your insight.
 
Campbell Ritchie
Marshal
Posts: 56584
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There was a rather similar question (about doubles, but the principles are the same) recently: here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!