导航

输出控制

%f为float输入

%lf为double输入

输出时,%4.2f,整数位不足4个满足4位,小数点后保留两位

posted on 2021-07-01 17:49  toughcactus  阅读(34)  评论(0编辑  收藏  举报