bitshares / python-bitshares

Fully featured client-side library for the BitShares Blockchain - written entirely in python.
http://docs.pybitshares.com/
MIT License
162 stars 167 forks source link

Getting the price in float #284

Closed drmorphine closed 2 years ago

drmorphine commented 4 years ago

is there a way to get the price in float rather than this form 0.662600000 USD/BTS beacause i cant do addition and Subtraction with this form. Only multiplication and division

bitphage commented 4 years ago

Just call float() on Price instance.