Page 1 of 1

arithmetic operatins with json.

Posted: Friday 22 March 2019 17:55
by Pchatill
Hi.
Is that possible to multiply by 2 (for example) the value that I want to send with json?
For example, something like that:
/json.htm?type=command&param=udevice&idx=IDX&nvalue=0&svalue=TEMP*2
I tried differents syntaxes but no succes.
Any idea?
Thanks

Re: arithmetic operatins with json.

Posted: Friday 22 March 2019 19:04
by jvdz
No, you need to do that in the script that sends the JSON api call.

Jos