You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2021/07/19 18:36:00 UTC

[jira] [Created] (DAFFODIL-2546) Customizable float/double infoset representation

Steve Lawrence created DAFFODIL-2546:
----------------------------------------

             Summary: Customizable float/double infoset representation 
                 Key: DAFFODIL-2546
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2546
             Project: Daffodil
          Issue Type: New Feature
            Reporter: Steve Lawrence


Daffodil's default InfosetOutputters use the Float/Double.toString() function for converting float/doubles to a string to be output to an infoset. For some values, the Java toString implementation will switch to scientific notation, which not all consumers can easily handle. We should add a tunable or some other configuration so that users can have some control over how float/double's are converted to a string so that this can be disable or the range changed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)