摘要:
int a=9; int b=7;float c = (float) a / (float) b; //把整型数据 转换为 浮点型 数据System.out.println(c);System.out.println( String.format("%.2f", c));//保留小数点后2位 方法有 阅读全文
摘要:
SELECT * FROM result co where <if test="projectId != null"> co.projectId=#{projectId} and </if> <if test="startTime!=null and endTime!=null"> modifyTi 阅读全文