[ 
https://issues.apache.org/jira/browse/AVRO-1868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiruvalluvan M. G. resolved AVRO-1868.
---------------------------------------
    Resolution: Duplicate
      Assignee: Thiruvalluvan M. G.

This problem is addressed in AVRO-1216

> Increase precision digits of JSON encodeNumber(double)
> ------------------------------------------------------
>
>                 Key: AVRO-1868
>                 URL: https://issues.apache.org/jira/browse/AVRO-1868
>             Project: 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
(v6.3.15#6346)

Reply via email to