結果 : check if string is double or int java