Hello I am having an issue getting this equation to work, even with manually entering values replacing the variables. I cannot seem to get it to work, I have tested that the variables are being updated and working correctly and simpler equations are working and are able to be drawn, but when i try this all i am getting is "0.00"
yes this is working out profit made from bitcoin mining.
The original equation i am trying to get to work is dailyprofit = 24/(d*2^32/(h*10^6)/60/60)*c
global.profit =(24/(global.difficulty * power(2,32)/(global.hashrate * power(10,6))/60/60)*global.reward);
any help or ideas would be greatly appreciated.