How to convert a text into a number?

@lazasoa, you could use the int() function or the number() function to convert a string to an integer as outlined in the image shared below:

In the survey tab of your xlsform:

Data entry screen as seen in Enketo:

Reference xlsform:

String to integer.xlsx (10.6 KB)

1 Like