fix(ekuiper): float/double precision

This commit is contained in:
fengzero
2022-10-28 05:42:45 +00:00
parent 77ce24a134
commit 49636caebb
+4 -3
View File
@@ -155,9 +155,10 @@ int json_encode_read_resp_tags(void *json_object, void *param)
}
neu_json_elem_t tag_elem = {
.name = json_tag.name,
.t = json_tag.t,
.v = json_tag.value,
.name = json_tag.name,
.t = json_tag.t,
.v = json_tag.value,
.precision = trans_data->tags[i].value.precision,
};
ret = neu_json_encode_field((0 != json_tag.error) ? errors_object