TypeError: unsupported operand type(s) for +: 'float' and 'decimal.Decimal'

TypeError: unsupported operand type(s) for +: 'float' and 'decimal.Decimal'



浮点型和双精度类型 相加报错
from decimal import DecimalDecimal( float )+Decimal( float )
相关文章
相关标签/搜索