Closed StefanBoodt closed 8 years ago
Triller feature/market
Ubuntu 14.04
The float method in price returns a float.
The float method in price returns a Decimal.
Call float(price) somewhere. Additionally isinstance can be called.
TypeError: float returned non-float (type Decimal)
Fixed the problem,if it works close the issue please
I saw. It seems to work now.
Please, fill all relevant items:
Tribler version/branch+revision:
Triller feature/market
Operating system and version:
Ubuntu 14.04
Expected behavior:
The float method in price returns a float.
Actual behavior:
The float method in price returns a Decimal.
Steps to reproduce the behavior:
Call float(price) somewhere. Additionally isinstance can be called.
Relevant log file output:
TypeError: float returned non-float (type Decimal)