X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fdata.c;h=edfd4c3d388c74d7236469c7cde3db0274c184d1;hb=75b9743b95672218a61811b03433c0ab6e00ec5c;hp=dae31729a91e36693823184d320056ee06aea770;hpb=276903df90e1a0088832294749aca3fa56216697;p=matches%2FMCTX3420.git diff --git a/server/data.c b/server/data.c index dae3172..edfd4c3 100644 --- a/server/data.c +++ b/server/data.c @@ -161,13 +161,13 @@ void Data_PrintByIndexes(DataFile * df, int start_index, int end_index, DataForm switch (format) { case JSON: - fmt_string = "[%f,%f]"; + fmt_string = "[%.9f,%f]"; separator = ','; // For JSON we need an opening bracket FCGI_PrintRaw("["); break; case TSV: - fmt_string = "%f\t%f"; + fmt_string = "%.9f\t%f"; separator = '\n'; break; }