立即学习:https://edu.csdn.net/course/play/26676/338773?utm_source=blogtoedu
dir(math)
查看math模块里的函数
round(num,精确度4舍5入)
import decimal
a=decimal.Decimal('0.1')
b=decimal.Decimal('0.1')
a+b
0.3