(1)double 转 int int count; lowlevel = new Double(count *0.05).intValue(); highlevel = new Double(count *0.95).intValue();