Menu

#7 method to change output format of float values

closed-rejected
nobody
None
2
2015-03-06
2009-08-15
Anonymous
No

Now the format is hardcoded in the "std::string valueToString( double value )" method in json_writer.cpp. It'd be great if I could change the format in runtime.

Discussion

  • Christopher Dunn

    Yes, cool idea. Basically, the format-string for sprintf() could be a parameter of the Writer.

    Low priority, unless you need it yourself.

     
  • Christopher Dunn

    • priority: 5 --> 2
     
  • Christopher Dunn

    • status: open --> closed-rejected
    • Group: --> Next Release (example)
     

Log in to post a comment.