ava.lang.NumberFormatException: For input string: "-1.0" java.lang.NumberFormatException: For input string: "-1.0" String val = "-1"Interger.valueOf(val)--> ERROR int a = 0;try{ a = Interger.valueOf(val)} catch(NumberFormatException e){ double d = Double.parseDouble(val) a = (int)d;} 요렇게 하자. [안드로이드 공부]/UI 2018.09.20