What line is the error on?
Is length2 a local variable in a method?
or is it a class variable know to all methods?
Local variables are only known in the method (or enclosing {}s) they are...
Type: Posts; User: Norm
What line is the error on?
Is length2 a local variable in a method?
or is it a class variable know to all methods?
Local variables are only known in the method (or enclosing {}s) they are...
You can cast it: int i = (int)1.3;