sammchardy / python-binance-chain

Binance Chain Exchange API python implementation for automated trading
http://python-binance-chain.rtfd.io
MIT License
302 stars 132 forks source link

Round float #38

Closed cbarraford closed 3 years ago

cbarraford commented 4 years ago

Found the current code doesn't work. Example...

int(0.0313013 * math.pow(10, 8)) == 3130129

0.0313013 * 1e8 == 3130129.9999999995