Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Creating a json object was relatively simple. The json string is: {"sensorBoardName":["SensorBoard1"],"sensor":{"pH":0.000000}} The "pH": json value should be 0.00 instead of 0.000000. Is there anyway to limit the amount of trailing 0s float produces? Does anyone know if there is a configuration setting in the MbedJSONValue.h library to limit the amount of trailing zeros?