开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜