Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
6023625
Topic
474787
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
Quote from: Slipknot79 on April 01, 2014, 09:05:20 PM
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