I am trying to use a calculate expression in survey 123 for decimal field types. I have had success calculating integer field types with expression: int(${field_name)*int(${field_name2}). Does anyone know how to express this same calculation using decimals instead? Thanks
float
at least in most languages
Did you find a solution?
This is one way I have found to do it:
and it looks like this in the survey:
I found the solution I was looking for. You can convert a text field to a number that is a decimal by putting number() in front. Thank you though.
i.e.: number(${decimal_1})
This worked great for a similar problem I was working through. Thanks!