RE: @tipU Investors Update: Automatic Investments Refunding

You are viewing a single comment's thread from:

@tipU Investors Update: Automatic Investments Refunding

in steemit •  7 years ago  (edited)

Hi @cardboard. TipU is great. I'm tested steem invest and enable reinvest. But I get my share equal to +1e-05% (+0.00001%).

Payout from @tipU | Previous payout: 24.0 hours ago | Total @tipU profit: 142.071 SBD | Your current share: 0.0193% | Your profit: 0.025 SBD | Auto reinvested: 0.01 STEEM, reinvest ratio at 50% | Share +1e-05% | Your investment: 20.0 SP delegated + 2.01 SP invested out of 114033.556 SP total | Thank you! PS. You can now tell @tipU to make instant payout, more info here: https://steemit.com/steemit/@tipu/tipu-investors-update-payout-on-demand

This is not really readable value. If you can, fix this.

Most probably you do in string format:

value = float('1.72e-05') # same float value
string_value = str( value)

Fix:

value = float('1.72e-05')
string_value = "%f" % value

or using the build-in function format to display scientific notation as decimals.

format(float('1.e-05'), '.5f') # '0.00001'

Any way @tipU is a best bot. ;)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thanks! I've searched stack about changing the notation but could't find time to properly test and implement it so it was hanging around on the todo list. But this:
string_value = "%f" % value
Was simple and easy to do :)

ps. you can make code lines in markdown with `` :)