[ https://issues.apache.org/jira/browse/AVRO-1868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiruvalluvan M. G. closed AVRO-1868. ------------------------------------- Closing the issues that got resolved in earlier releases > Increase precision digits of JSON encodeNumber(double) > ------------------------------------------------------ > > Key: AVRO-1868 > URL: https://issues.apache.org/jira/browse/AVRO-1868 > Project: Apache Avro > Issue Type: Improvement > Components: c++ > Reporter: Jirapat Jirasirikul > Assignee: Thiruvalluvan M. G. > Priority: Minor > > The JSON encodeNumber(double) function writes value to output string stream. > The default precision is 6 which is not sufficient for many applications for > encoding a double. > std::setprecision(16) should be used to set max precision to 16 digits. Note > that doing this would not unnecessarily append zeros to force 16 digits. -- This message was sent by Atlassian JIRA (v7.6.3#76005)