0
密碼的輸入值是從Ecxel以「1.0」取代爲1,因此試圖轉換爲整數。無法將密碼轉換爲「1.0」爲1
int pswd =0;
pswd= Integer.parseInt(Dataset_TS_Login_Navigation.get"Password"));
現在我收到錯誤爲:
exception_name = java.lang.NumberFormatException
EXCEPTION_MESSAGE =對於輸入字符串: 「9.0」