Quote (Minkomonster @ Oct 30 2014 12:23am)
No, its an integer. The String I was refering to is the the return of String.valueOf(num), which would return "100". Calling the length method on this string returns an integer representing the length of the string.
To be more clear
Code
int num = 100;
String stringifiedNum = String.valueOf(num);
int numOfDigits = stringifiedNum.length(); //numOfDigits is 3 because the length of the String is 3
Yes, I figured, that's why I edited my post up there right after xd. Hoping you didn't see it.