In aytm logic, references and aliases can be used in multiple ways, achieving a wide range of possible text and survey flow manipulations.
How to Convert to Numeric Value
|
There are multiple places where there is a need to convert text into a number for further manipulations. This is valid for almost all reference modifiers, and can be achieved by appending “V” at the end of the command. This tells the algorithm to attempt to smartly convert the text into a simple numeric value. In most cases it would search for digits until it hits a non-numeric symbol, or the end of text. If it is impossible to find a number, the algorithm returns 0. For open-ended question, or questions that support open-ended responses on item level, the open-ended response can be converted to a number with this operation. We recommend using Forms question type with a numeric mask such as ### to enforce numeric only input to avoid respondents entering non-numeric symbols.
|
Common Use Case Examples
|