Support for "mod" (Modulus/remainder) arithmetic operator

Is it supported by ODK? If yes, can anyone help with syntax for it's use?

Divide is "div" and modulus is "mod". Example: "9 mod 2" returns 2.

Best,

Chris

··· On Mon, Sep 9, 2013 at 2:30 AM, wrote:

Is it supported by ODK? If yes, can anyone help with syntax for it's use?

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

Yeah, I tried that but it seems to be not supported by ODK. Can anyone confirm?

··· On Monday, September 9, 2013 4:20:50 PM UTC+5:30, Christopher Robert wrote: > Divide is "div" and modulus is "mod". Example: "9 mod 2" returns 2. > > > Best, > > > Chris > > > > > > > > On Mon, Sep 9, 2013 at 2:30 AM, wrote: > > > Is it supported by ODK? If yes, can anyone help with syntax for it's use? > > > > -- > > You received this message because you are subscribed to the Google Groups "ODK Developers" group. > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > For more options, visit https://groups.google.com/groups/opt_out.

It is supported. Be sure that both your values are int or decimal fields.

··· On Mon, Sep 9, 2013 at 5:43 AM, wrote:

Yeah, I tried that but it seems to be not supported by ODK. Can anyone
confirm?

On Monday, September 9, 2013 4:20:50 PM UTC+5:30, Christopher Robert wrote:

Divide is "div" and modulus is "mod". Example: "9 mod 2" returns 2.

Best,

Chris

On Mon, Sep 9, 2013 at 2:30 AM, bas...@gmail.com wrote:

Is it supported by ODK? If yes, can anyone help with syntax for it's use?

--

You received this message because you are subscribed to the Google
Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

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

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com