diff --git a/api.c b/api.c index 2783d7e3..f7c121e4 100644 --- a/api.c +++ b/api.c @@ -981,7 +981,7 @@ static struct api_data *print_data(struct api_data *root, char *buf, bool isjson case API_UTILITY: case API_FREQ: case API_MHS: - sprintf(buf, "%.2f", *((double *)(root->data))); + sprintf(buf, "%.4f", *((double *)(root->data))); break; case API_VOLTS: sprintf(buf, "%.3f", *((float *)(root->data)));