#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

     
    Attachments
  • 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)
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks