-
Hi,
as far as I can see there is only the text box control to enter data onto a form. Trouble is that all I can get from this through code is a string version of the values. In order to work with it I need to convert to integer.
But how do I do this - in J++ it insists on putting commas for thousands!
Surely there is a simpler way?
-
Having only just started Java, I may be completely off track, but would
int integer = yourstring?
I know I've used it a lot in VB!!!
-
int myInt = Integer.parseInt(myString);