Overflow Exception trying to bind NaN
(2010-08-18 16:18:02)
标签:
overflowexceptiontryingtobindnan杂谈 |
分类: java |
It looks like you did some bad arithmetic, resulting in a "Not A Number" (NaN) result. For example:
float a;
public void insert (float a,float b){
float nan =a/ b;
ps=conn.preparedStatement("insert into table (id,monney) values(seq.nextval,?) ");
ps.execute;
}
当b=0的时候就会出现该错误。
Overflow Exception trying to bind NaN
后一篇:jsp 路径问题

加载中…