%f为float输入
%lf为double输入
输出时,%4.2f,整数位不足4个满足4位,小数点后保留两位
posted on 2021-07-01 17:49 toughcactus 阅读(34) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 toughcactus Powered by .NET 8.0 on Kubernetes