LOUDMOUTH Posted May 1, 2009 Share Posted May 1, 2009 How do I ask for % of $money I want it to show me that $exp is only 50% of $money $money = (25 * $nerve) + 15 * ($nerve - 1); $exp = $money; Quote Link to comment https://forums.phpfreaks.com/topic/156383-solved-asking-for-in-variables/ Share on other sites More sharing options...
Mchl Posted May 1, 2009 Share Posted May 1, 2009 $exp = 0.5 * $money; Quote Link to comment https://forums.phpfreaks.com/topic/156383-solved-asking-for-in-variables/#findComment-823342 Share on other sites More sharing options...
LOUDMOUTH Posted May 1, 2009 Author Share Posted May 1, 2009 Perfect thank you Quote Link to comment https://forums.phpfreaks.com/topic/156383-solved-asking-for-in-variables/#findComment-823347 Share on other sites More sharing options...
ignace Posted May 1, 2009 Share Posted May 1, 2009 1) Wow, hard math.. 2) Shouldn't this be posted under PHP Math? Quote Link to comment https://forums.phpfreaks.com/topic/156383-solved-asking-for-in-variables/#findComment-823352 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.