62,615
社区成员
发帖
与我相关
我的任务
分享
Double temp=Double.valueOf(String.valueOf(Math.random()).substring(0,5))*200;
System.out.println(String.valueOf(Math.random()).substring(0,5));//"0.xxx"
System.out.println(Math.ceil(temp));
System.out.println(Math.floor(temp));
System.out.println(Math.sqrt(temp));