//各種數(shù)字類型轉(zhuǎn)換成字符串型:
String s = String.valueOf( value);// 其中 value 為任意一種數(shù)字類型。
//字符串型轉(zhuǎn)換成各種數(shù)字類型:
String s = "169";
byte b = Byte.parseByte( s );
short t = Short.parseShort( s );
int i
文章來(lái)源:http://www.itshehui.com/forum.php?mod=viewthread&tid=827
String s = String.valueOf( value);// 其中 value 為任意一種數(shù)字類型。
//字符串型轉(zhuǎn)換成各種數(shù)字類型:
String s = "169";
byte b = Byte.parseByte( s );
short t = Short.parseShort( s );
int i
文章來(lái)源:http://www.itshehui.com/forum.php?mod=viewthread&tid=827