Double.intValue()

    1. Double double=23.56;
    2. //Double转int
    3. int b=double.intValue();