java 中double型转化成int型

double d = 12.0; int i = (new Double(d)).intValue();
相关文章
相关标签/搜索