| title | date | tags | categories |
|---|---|---|---|
|
double转integer
|
2019-09-28 04:13:36 -0700
|
JAVA
|
JAVA
|
(1)把double先转化成int类型
Double reseve3=Double.parseDouble(bddet[0].getReserve3());
int b=reseve3.intValue();
(2)再把int类型转化为Integer类型
Integer rentCount=Integer.valueOf(b);
最后
以上就是舒适鸭子最近收集整理的关于double转integer的全部内容,更多相关double转integer内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复