0 decimal places update

Hi team,

I just was revisiting a questionnaire that’s been in the works for some months now. Anyhow we have a variable (double) that converts square meters into hectares. Prior to the recent update to numeric entries in v24.06, we were having square meters entered as an ‘integer’ in the numeric setup and in the double variable this would divide by 10,000 and give us the hectare in decimal. However re-visiting this type of question now since the update the double now holds the hectares only as an integer.

The issue is of course resolved by changing the input numeric question to have
‘0 decimal places’. But I thought it worthwhile to mention this, particularly for situations like this where we are revisiting questionnaires programmed before this change to the numeric inputs.

Thanks!

The correct way of specifying that you wish the result of division with decimals is to divide by 10000.0 or by 10000d, and not by 10000 (which is true for the old and the new version):

image

Please note:

See also here:

Thanks Sergiy! very helpful