Hello,
I would like to know why aJsonStream::printFloat is not written simply as:
int aJsonStream::printFloat(aJsonObject *item)
{
if (item != NULL)
{
double d = item->valuefloat;
this->print(d, FLOAT_PRECISION);
}
//printing nothing is ok
return 0;
}
Thanks in advance,
Nicolas