Data type number in question matrix does not allow decimals in computers

Dear Specialist,

Hello, I have a problem, the data type number in question matrix, does not allow decimals in computers but in phones yes, could you help me how to solve that? I currently have a lot of surveys in draft to see if this problem can be solved, thanks for your help!

I can add numbers with decimals through the browser (Chrome) but the server does not support it. please if you can help me I would appreciate it very much!

@nazaret, could you share with us a section of the XLSForm so that we could also test it at out end?

Hello @nazaret,
What is your language setting for

  • the browser(s)
  • the KoBo project on server level.

Do you use decimal as data type in your firm?

1 Like

Hi @Kal_Lam ,
amEwKQ8PdtXV34oGVy2uX5.xml (226,5 KB)
amEwKQ8PdtXV34oGVy2uX5.xlsx (25,5 KB)

Hi @nazaret,

The integer question type only allows whole number input. To use decimals, you need to change the question type to decimal.

You can see more in here:

Hope this works,

1 Like

Hi @wroos , the browser they use is google chrome but I did the test on my computer with Firefox, Brave, chrome and edge, decimals don’t work on the computer

but, when the matrix is being created, only the numbers option appears

Hello @nazaret,
Can you change the type to decimal, please?
(If not possible on Formbuilder, do it in the xlsx file and upload/redeploy it.)

1 Like

I will try

1 Like

Thanks, I didn’t know that I could change the type of data even if it doesn’t appear on the web. thank you!

PS: I did the test but I get this error

@nazaret, maybe you will also need to validate your XLSForm through this online validator to see if there are any other syntax issues in it?

thanks :smiley: and yes it has errors :S

[row : 18] Group has no label: {‘name’: ‘Tamano_Familia_header’, ‘type’: ‘begin_group’}

PS: Thanks por this validator

1 Like

A group without label is ok. Sometimes intentional, as this will result in grouping not shown. (E.g. used for field-list appearance or relevant definition for the group.)

For changing the type, you may need to use the Excel XLSForm (download, change, upload).

And I would recommend always using the Online validator during form development.

1 Like