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; 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; 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 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? 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
Archived
This topic is now archived and is closed to further replies.