๋ชฉ์ฐจ ๋ฐ์ํ public static boolean isNumeric(String s) { try { Double.parseDouble(s); return true; } catch(NumberFormatException e) { return false; } } String s ; boolean chk = isNumeric( s ); ๋ฐ์ํ ๊ณต์ ํ๊ธฐ ๊ฒ์๊ธ ๊ด๋ฆฌ iseunghan ์ ์์ํ์ ๋ชฉ์ฐจ ๋ชฉ์ฐจ ๋ซ๊ธฐ