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 )
相關文章
相關標籤/搜索