Post
Topic
Board Investor-based games
Re: btc-arbs.com - Daily ROI (0.01-10%) Update: Registration issues + deposits
by
wdl1908
on 01/04/2014, 21:12:40 UTC

How do you calculate this?

I do: new_balance = old_balance x (1 + percentage/100)

yep but you have to but off the decimals past the fourth digit. So no rounding.

best way to do that is int(amount *10000)/10000