Replace the following line..
lastdig = Integer.substring(total.length()-1, total.length());
to
lastdig = Integer.parseInt(strd.substring(strd.length()-1, strd.length()));
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: uma2712 Search: Search took 0.03 seconds; generated 54 minute(s) ago.
Results 1 to 5 of 5
|
Click Here to Expand Forum to Full Width |