C creation-zy Unregistered / Unconfirmed GUEST, unregistred user! 2001-09-24 #2 StrToFloat is OK! 哎呀!对不起,没有看到是Java: Float.valueOf
N netxray Unregistered / Unconfirmed GUEST, unregistred user! 2001-10-08 #3 String yourStr = "1.0"; float f = Float.parseFloat(yourStr);