[ 
https://issues.apache.org/jira/browse/DAFFODIL-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17384286#comment-17384286
 ] 

Steve Lawrence commented on DAFFODIL-2546:
------------------------------------------

Yep, DAFFODIL-2353 mentions an approach to handling floats/doubles without loss 
of precision.

> 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
>            Priority: Minor
>
> 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)

Reply via email to