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

Scott O'Bryan commented on TRINIDAD-2405:
-----------------------------------------

There is a component for this in 2.1.0-core:

r1516604 | gcrawford | 2013-08-22 20:55:56 +0000 | 3 lines
Changed paths:
   M /myfaces/trinidad/trunk/trinidad-api/src/main/resources/trinidad-config.xsd

TRINIDAD-2405 Allow numberConverter to specify roundingmode

thanks to yee-wah


> Allow numberConverter to specify roundingmode
> ---------------------------------------------
>
>                 Key: TRINIDAD-2405
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2405
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>            Reporter: Yee-Wah Lee
>            Assignee: Jeanne Waldman
>            Priority: Minor
>             Fix For: 2.0.8-plugins, 2.1.0-core
>
>         Attachments: TrinPlugin_2405_numberConverterRoundingCode.diff, 
> TrinTrunk_2405_numberConverterRounding.diff, 
> TrinTrunk_2405_numberConverterRounding_xsdfix.diff
>
>
> NumberFormat has a method setRoundingMode() which controls how numbers are 
> rounded. The JDK default is RoundingMode.HALF_EVEN. 
> This tracks adding an attribute to the numberConverter so that the rounding 
> mode can be set, instead of always using JDK defaults. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to