mirror of
https://github.com/json-c/json-c.git
synced 2026-03-30 18:39:07 +08:00
Issue #486: append a missing ".0" to negative double values too.
This commit is contained in:
@@ -16,3 +16,4 @@ obj(12.0).to_string(default format)=12.0
|
||||
obj(12.0).to_string(%.0f)=12
|
||||
obj(12.0).to_string(%.0g)=1e+01
|
||||
obj(12.0).to_string(%.1g)=12.0
|
||||
obj(-12.0).to_string(default format)=-12.0
|
||||
|
||||
Reference in New Issue
Block a user