double num=;//double 数字 BigDecimal FRE=new BigDecimal(num); System.out.println( FRE.toBigInteger().toString()); 记录一下