文章列表Python基础知识浮点数On this page浮点数获取指定长度的floatround()# 保留2位file_size = round(len(data) / 1024 / 1027, 2) # 3.68