How in Java do you return the first digit of an integer.?
i.e.
345
Returns an int of 3.
Ignoring negative values leads to:
(""+345).charAt(0);