会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
guoliheng
博客园
首页
新随笔
联系
管理
订阅
输出
#include <iostream> #include <iomanip> using namespace std; int main (){ //保留3位有效数字?(四舍五入)->cout cout<<setprecision(3)<<3.004<<endl; //精确小数点3位? (四舍五入)
posted on
2024-04-21 09:40
郭立恒
阅读(
2
) 评论(
0
)
编辑
收藏
举报
指间灵动,快码加编
刷新页面
返回顶部