I am trying to finish a calculation and I am stuck. I need the total to be divided by 2. I have the addition total working, but when I add / 2 at the end it isn't working. I don't know how to do calculations other than modifying one in use somewhere else.... Can someone show me how I would take the following and finish it to be divided by 2? Thanks in advance!!
val(OBSNOW("QUESTION #1")) +
val(OBSNOW("QUESTION #2")) +
val(OBSNOW("QUESTION #3")) +
val(OBSNOW("QUESTION #4")) +
val(OBSNOW("QUESTION #5")) +
val(OBSNOW("QUESTION #6")) +
val(OBSNOW("QUESTION #7")) +
val(OBSNOW("QUESTION #8")) +
val(OBSNOW("QUESTION #9")) +
val(OBSNOW("QUESTION #10")) +
val(OBSNOW("QUESTION #11")) +
val(OBSNOW("QUESTION #12")) +
val(OBSNOW("QUESTION #13")) +
val(OBSNOW("QUESTION #14")) +
val(OBSNOW("QUESTION #15")) +
val(OBSNOW("QUESTION #16")) +
val(OBSNOW("QUESTION #17")) +
val(OBSNOW("QUESTION #18")) +
val(OBSNOW("QUESTION #19")) +
val(OBSNOW("QUESTION #20"))
Nevermind! I got it, I wasn't putting in the parenthesis to tell it what calculation to do first!
Something like:
(val(OBSNOW("QUESTION #1")) +
val(OBSNOW("QUESTION #2")) +
val(OBSNOW("QUESTION #3")) +
val(OBSNOW("QUESTION #4")) +
val(OBSNOW("QUESTION #5")) +
...
val(OBSNOW("QUESTION #18")) +
val(OBSNOW("QUESTION #19")) +
val(OBSNOW("QUESTION #20")) )/2
That was exactly what I was missing. I kept staring at it wondering why it wasn't working, I even read through 30 some pages of a MEL PDF manual, lol. I finally got to the part on calculations and realized I had to put the first part in parenthesis so it knew the order of calculations.....