This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Json Real Precision setting

Hi,

If I have a value (float_32) 22.648274618 and I am using Json to output my data I use the real function of Json. This works great but now I would like the Json output to only 22.648 and not the whole number.

Is this possible and how?

Parents
  • What do you mean by that?

    Are you using some library on your ARM microcontroller to create this JSON ?

    If so, what does its documentation tell you?

    If not, then please provide more detail of how you are creating the JSON output.

Reply
  • What do you mean by that?

    Are you using some library on your ARM microcontroller to create this JSON ?

    If so, what does its documentation tell you?

    If not, then please provide more detail of how you are creating the JSON output.

Children
No data