help with calculations please!!

  • Thread starter Thread starter maeg
  • Start date Start date
M

maeg

Guest
every time i use calculations containing +, the numbers aren't adding together - they are just listing e.g. if i wanted to do 2+3+4, the answer would come out as 234, not 9! does anyone know why this is happening? as far as i know i'm writing the calculations correctly!
please help! :confused:
 
Are the numbers set to a number format or are they listed in a text field?

You may have to convert the string to a value before you do the calculation.
 
Can you give an example of an exact calculation you're using?
 
This example from the debug window will hopefully show

the distinct between numbers and numbers as text:

x = "1"
y = "2"
z = "3"

? x + y + z
123

? val(x) + val(y) + val(z)
6

HTH - Bob
 

Users who are viewing this thread

Back
Top Bottom