float vnum=((float)(voteNum)/ticket)*100;
float num=Math.round(vnum,3);
out.print(vnum+"%");
提示错误为:Wrong number of arguments in method.
float num=Math.round(vnum,3);
why?
...全文
291打赏收藏
关于四舍五入地问题?
float vnum=((float)(voteNum)/ticket)*100; float num=Math.round(vnum,3); out.print(vnum+"%"); 提示错误为:Wrong number of arguments in method. float num=Math.round(vnum,3); why?