开发者

i get this error java.lang.NumberFormatException: multiple points

开发者 https://www.devze.com 2023-03-02 02:14 出处:网络
I am trying to add the sum of certin record sets as: item.setT开发者_如何学运维ext(5,String.valueOf(Double.valueOf(rs1.getString(\"prn_amount\")+

I am trying to add the sum of certin record sets as:

item.setT开发者_如何学运维ext(5,String.valueOf(Double.valueOf(rs1.getString("prn_amount")+ Double.valueOf(rs1.getString("prv_prn") + Double.valueOf(rs1.getString("adv_prn"))))));**

i get the error:

java.lang.NumberFormatException: multiple points**

why is this happened could any body please help me?


How bout splitting that all up and printing out those 3 field values....


There are several places where you missed some braces, namely after each getString you only close the corresponding argument for getString but not for the Double.valueOf associated with.

0

精彩评论

暂无评论...
验证码 换一张
取 消