You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "PJ Fanning (Jira)" <ji...@apache.org> on 2021/09/01 12:00:15 UTC
[jira] [Closed] (XMLBEANS-451) XML Beans BigDecimal display issue
[ https://issues.apache.org/jira/browse/XMLBEANS-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
PJ Fanning closed XMLBEANS-451.
-------------------------------
Resolution: Won't Fix
> 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
> Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org