camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-5846) camel-bindy - Honor precision when formatting a decimal number
Date Mon, 17 Dec 2012 10:26:12 GMT

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

Claus Ibsen resolved CAMEL-5846.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.11.0
         Assignee: Claus Ibsen
    
> 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
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.11.0
>
>
> 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

Mime
View raw message