Adding variables in Survey123 (XLSForm)

107
1
06-11-2019 05:42 PM
Highlighted
New Contributor II

I am trying to add 

100-${x}+${y}+${z}+${a}+${b}+${c}.  This syntax gives me a concatenated string of numbers.  What gives? 

Reply
0 Kudos
1 Reply
Highlighted
Occasional Contributor II

By default variables are handled as strings. Convert the variables to numbers in the calculation.

Reply
0 Kudos