Merge pull request #17027 from kaspar030/turo_json_fixes

turo: some json fixes
This commit is contained in:
Francisco 2021-10-22 10:48:29 +02:00 committed by GitHub
commit abbf798e8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ void turo_u64(turo_t *ctx, uint64_t val)
void turo_float(turo_t *ctx, float val)
{
_print_comma(ctx, TURO_STATE_NEED_COMMA);
print_float(val, 8);
print_float(val, 7);
}
void turo_string(turo_t *ctx, const char *str)