Simple suggestion

Hi there,

A simple easy suggestion to add to the ODK bindings is an absolute value function. Since error margins are commonly used to calculate checks, this would make things easier.

Best,

Lu

Dear Lu,

Have you taken a look at the xpath functions pagehttp://www.w3schools.com/xpath/xpath_functions.asp?
I think there there is an absolute value function there that should work
with Xlsforms. I haven't used it myself but you can give it a shot (I know
that the "not" function works, and if I am not wrong, xlsforms uses xpath
so the abs() function should work too).

Warm Regards
Adeeb

··· On Monday, 5 May 2014 16:18:41 UTC+6, tcluc...@gmail.com wrote: > > Hi there, > > A simple easy suggestion to add to the ODK bindings is an absolute value > function. Since error margins are commonly used to calculate checks, this > would make things easier. > > Best, > > Lu > >

I'm pretty sure JavaROSA doesn't have abs() support. I've filed the
feature request at
https://code.google.com/p/opendatakit/issues/detail?id=998.

Best way to guarantee this happens is for you to code it and submit a
patch. It's very straight-forward.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Mon, May 5, 2014 at 9:01 AM, Adeeb Choudhury adeeb.choudhury@gmail.com wrote:

Dear Lu,

Have you taken a look at the xpath functions page? I think there there is an
absolute value function there that should work with Xlsforms. I haven't used
it myself but you can give it a shot (I know that the "not" function works,
and if I am not wrong, xlsforms uses xpath so the abs() function should work
too).

Warm Regards
Adeeb

On Monday, 5 May 2014 16:18:41 UTC+6, tcluc...@gmail.com wrote:

Hi there,

A simple easy suggestion to add to the ODK bindings is an absolute value
function. Since error margins are commonly used to calculate checks, this
would make things easier.

Best,

Lu

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.