Getting the second digit from a long variable – stackoverflow.com

I am trying to fetch second digit from a long variable. long mi = 110000000; int firstDigit = 0; String numStr = Long.toString(mi); for (int i = 0; i < numStr.length(); i++) { System.out....

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Getting the second digit from a long variable – stackoverflow.com"