Survey 123 Simple Multiplication

201
4
Jump to solution
07-21-2022 01:38 PM
MeganWheat
New Contributor III

Hello!

I am working on a calculation to just multiple an integer field by 1000. 

 

{total_flow2} *1000

this is what I have but of course I get an error. And I have tried it other ways too and just wanting to know how to do this. Please help! Thank you!

 

Megan

0 Kudos
1 Solution

Accepted Solutions
Katherine_Clark
MVP Regular Contributor

You need the dollar sign in front of the curly brackets

${total_flow2} * 1000

Best,
Katherine

View solution in original post

0 Kudos
4 Replies
Katherine_Clark
MVP Regular Contributor

You need the dollar sign in front of the curly brackets

${total_flow2} * 1000

Best,
Katherine
0 Kudos
MeganWheat
New Contributor III

Awesome thank you! I did notice I have to create another field for the calculation to run as well. So total_flow2 is whatever integer is placed in the box. Then I created a calculation total flow area with the calculation. It would not run in the total_flow2 calculation box.

0 Kudos
Katherine_Clark
MVP Regular Contributor

Yup, exactly! The calculation returns a result which populates that field, but it can't reference itself, so the output is a different field/question.

Best,
Katherine
0 Kudos
MeganWheat
New Contributor III

Awesome! Thank you so much! 🙂

0 Kudos