mirror of
https://github.com/json-c/json-c.git
synced 2026-04-05 21:39:06 +08:00
Merge branch 'master' into json-c-0.10
This commit is contained in:
@@ -463,7 +463,7 @@ static int json_object_double_to_json_string(struct json_object* jso,
|
|||||||
int level,
|
int level,
|
||||||
int flags)
|
int flags)
|
||||||
{
|
{
|
||||||
return sprintbuf(pb, "%lf", jso->o.c_double);
|
return sprintbuf(pb, "%f", jso->o.c_double);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct json_object* json_object_new_double(double d)
|
struct json_object* json_object_new_double(double d)
|
||||||
|
|||||||
Reference in New Issue
Block a user