Menu

#12 Trailing decimal point and trailing zeros.

Unstable (example)
closed-fixed
nobody
Writer (1)
5
2015-03-06
2012-02-09
Mickey Ju
No

For cases like 1234567890123456.999 and 39.9, the writer outputs 1234567890123456. and 39.90 respectively. The patch tries to fix the issue. Please review the patch for me. If it looks good, please integrate the patch into the future releases.

Discussion

  • Mickey Ju

    Mickey Ju - 2012-02-09

    Created with diff -ru

     
  • Christopher Dunn

    We recently put a lot of effort into getting a correct round-trip for floats. I think it will work for you now: https://github.com/open-source-parsers/jsoncpp/

     
  • Christopher Dunn

    • status: open --> closed-fixed
    • Group: --> Unstable (example)
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.