wsharba / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 1 forks source link

round() with optional second argument? #1045

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I propose to slightly adjust the round() function to make the second (decimals) 
argument optional and set it to 0 if absent.

This way we have the default XPath 1.0 behaviour but extend it if a second 
argument is provided

http://www.w3.org/TR/xpath/#function-round 

Already the case in Enketo

Original issue reported on code.google.com by mart...@enketo.org on 14 Aug 2014 at 9:45

GoogleCodeExporter commented 9 years ago
ODK COLLECT 1.4.4 1045 RISS FORM EHEALTH

Original comment by ahmadusm...@gmail.com on 6 Dec 2014 at 3:35

GoogleCodeExporter commented 9 years ago
Does this mean the proposed change is implemented? If so, great and I'll update 
the ODK XForm spec.

Original comment by mart...@enketo.org on 6 Dec 2014 at 7:40