L linuxcrow Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-05 #1 变量如下 String s="12345" 如何把s赋值给一个long型的变量???
L linuxcrow Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-05 #3 大哥java里有strtoint这个函数吗???
Z zhuny Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-05 #5 long p; String s = "123"; p = Long.parseLong(s); LUCKY!
C cadwolf Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-05 #8 Long 的静态方法如下: public static long parseLong(String s) throws NumberFormatException long p; String s = "123"; p = Long.parseLong(s); 同意zhuny的
Long 的静态方法如下: public static long parseLong(String s) throws NumberFormatException long p; String s = "123"; p = Long.parseLong(s); 同意zhuny的