結果 : first digit of a number in java