String to float : float f = Float.valueOf(str).floatValue(); 十進位,二進位與十六進位 數字的轉換 1. decimal to binary : int i = 20; String binstr = Integer.toBinaryString(i);
www.google.com.tw