两位float型的小数相加,不会变成两位小时的处理方法

from decimal import Decimala=134.5657768t=Decimal(“134.5657768”).quantize(Decimal(“0.00”))print(t)

相关文章
相关标签/搜索