• Philipp A. Hartmann's avatar
    Writer: add SetDoublePrecision to control number of significant digits · 0ccc51fb
    Philipp A. Hartmann authored
    Writing a double to an OutputStream current prints at most 6 significant
    digits (according to the C standard).
    
    The function SetDoublePrecision(), added to the Writer classes
    can be used to fluently set the precision, i.e. the number of
    significant digits to use for writing the double:
    
      Writer<...> writer(...);
      d.Accept(writer.SetDoublePrecision(12));
    0ccc51fb
Name
Last commit
Last update
bin Loading commit data...
build Loading commit data...
example Loading commit data...
include/rapidjson Loading commit data...
test Loading commit data...
thirdparty Loading commit data...
.gitignore Loading commit data...
license.txt Loading commit data...
readme.txt Loading commit data...