Hi @finemindorg, you can try something like this with the concat()
method:
survey
type | name | label | calculation | default |
---|---|---|---|---|
integer | num | Enter a number | 0 | |
calculate | calc | if(${num} <= 9, concat(‘0’, ${num}), ${num}) | ||
note | result | The output is: ${calc} |