GUNBOT: The automatic profit generator => Technical Support & Development => Topic started by: krixt on July 19, 2017, 12:43:09 PM

Title: BUG: Inconsistent usage of number formatting
Post by: krixt on July 19, 2017, 12:43:09 PM

Sometimes values are printed as 0.12344001122, sometimes as 5443.2210 (which really should be printed as 0.54432210), sometimes printed as 7.1e-7, sometimes printed as price to buy: 7.679280000000009e-7

It's extremely frustrating to "see" what's going on with the bot when numbers are not formatted consistently.

Please fix the code so that all numbers are formatted properly to the correct number of significant digits.