I'm craig key. Who are you?
UPDATE: Upon further testing, I’ve realized the syntax here works - I replaced the variables with actual numbers and got a correct calculation. So it’s the way I’m defining the variables that is messing me up…I’ll post more when I get it figured out, but no need to try to solve this bad boy for now. Thanks!
Ok friends, I’m off work today working on a little house work and a little nerd work. I’m having some trouble with a PHP math function and I would LOVE your help?!?!
I’m trying to define a variable (we’ll call it $awesome). By doing some math with a few other variables (named $v1 through $v5)
$awesome= ((($v1*$v2)*$v3)/100)+($v4*0.6)+($v5*0.3);
What am I doing wrong? I’m sure it’s a silly syntax rule, but right now the math is not computing.
i can haz smart pplz helps?
If you’re willing to help, and have AIM - hit me at: craigsanatomy or respond here (tumblr) or through twitter (@craigsanatomy)
Powered by Tumblr; designed by Adam Lloyd.