You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Vijji Sur (JIRA)" <xm...@xml.apache.org> on 2011/02/28 00:52:37 UTC

[jira] Created: (XMLBEANS-451) XML Beans BigDecimal display issue

XML Beans BigDecimal display issue
----------------------------------

                 Key: XMLBEANS-451
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-451
             Project: XMLBeans
          Issue Type: Bug
    Affects Versions:  Version 2.3
            Reporter: Vijji Sur


We are using XmlBeans to create FIXML objects using xsd

And we use XmlObject.xmlText method to print XML as string value.

When we set BigDecimal on XmlObject, it prints as exponential value if the scale is higher than 7 digits.

For example, the value is 0.0000000, it prints as 0E-7.

How can I tell XmlBeans to use BigDecimal.toPlainString() while printing xml text?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org