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

Luca Burgazzoli updated CAMEL-5846:
-----------------------------------

    Summary: camel-bindy - Honor precision when formatting a decimal number  
(was: camel-bindy - honor precision when formatting a decimal number)
    
> camel-bindy - Honor precision when formatting a decimal number
> --------------------------------------------------------------
>
>                 Key: CAMEL-5846
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5846
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-bindy
>            Reporter: Luca Burgazzoli
>            Priority: Minor
>
> Let's take the class 
> org.apache.camel.dataformat.bindy.model.complex.generateheader.Order in which 
> the field amount is defined as follow:
> @DataField(pos = 9, precision = 2)
> private BigDecimal amount;
> This will properly un-marshall 10.00 and 10 but if I format it back I can 
> only have 10 regardless of the precison. 
> Patch available as part of the fix for CAMEL-5827

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to