The addSeparators
method reformats an already captured number value with separators.
In this example, the Q3 response will be stored as a number with no commas, e.g. "54216". The addSeparators
function will display it as "54,216".
Additional examples
Inserting a separator other than a comma
addSeparators
allows for the addition of a parameter to specify the separator. In this case, a period will be used instead of the default comma.
3. In euro, what was you salary last year?
type: integer
size: 8
showtext: spend
text: You said your salary was $[* addSeparators($Q3,'.') *] last year.
Comments
0 comments
Please sign in to leave a comment.