Closed kadler closed 3 years ago
Original report by Sebastian Misiewicz (Bitbucket: SMisiewicz, GitHub: sebastian-misiewicz).
Hi
There seems to be an issue when converting negative values (gt > -1 and lt < 0). Here is an example , SQL result
however when I use JSON400 query I got an error due to missing '0'
the correct value is -0.9
It might help - PaseJson.c - json_output_record_name_value
#!c char * fmt_key_val_zero_neg_dec = "\"%s\":-%s";
and
#!c } else if (value[0] == '-' && value[1] == '.') { value[0] = '0'; fmt_val = fmt_val_zero_dec; fmt_key_val = fmt_key_val_zero_neg_dec; } else {
Regards Sebastian Misiewicz
Original report by Sebastian Misiewicz (Bitbucket: SMisiewicz, GitHub: sebastian-misiewicz).
Hi
There seems to be an issue when converting negative values (gt > -1 and lt < 0). Here is an example , SQL result
however when I use JSON400 query I got an error due to missing '0'
the correct value is -0.9
It might help - PaseJson.c - json_output_record_name_value
and
Regards Sebastian Misiewicz