double的随机数
//验证码的测试
double mathRandom = (Math.random() * 9 + 1) * (Math.pow(10, 5));
System.out.println(mathRandom);
int num = (int) mathRandom;
System.out.println(num);
double的随机数
//验证码的测试
double mathRandom = (Math.random() * 9 + 1) * (Math.pow(10, 5));
System.out.println(mathRandom);
int num = (int) mathRandom;
System.out.println(num);