How to calculate how much voting $ I can spend

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@knircky·
0.000 HBD
How to calculate how much voting $ I can spend
I am looking to figure out how to calculate what it means in SBD or $ when I have 100% of voting power and want to spend so much that the power will be X%.

Example:

- Take an account with 100k SP. 

- At 100% the voting value will be around $7, at 50% it would be about $3.5

 - If I vote until the voting is at 50% how much money do we have to give in SBD overall.

Is there an elegant way to calculate this?

Code would be perfectly fine
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,