TypeError: unsupported operand type(s) for +: 'float' and 'decimal.Decimal'
浮点型和双精度类型 相加报错
from decimal import Decimal
Decimal( float )+Decimal( float )
TypeError: unsupported operand type(s) for +: 'float' and 'decimal.Decimal'
浮点型和双精度类型 相加报错
from decimal import Decimal
Decimal( float )+Decimal( float )
转载于:https://www.cnblogs.com/yanxiatingyu/p/10452625.html