int i = 1; Float f = i * 1.0f; Double d = i * 1.0;
Java将整数转为Double或者Float
猜你喜欢
转载自blog.csdn.net/Wengzhengcun/article/details/88643558
今日推荐
周排行