You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org> on 2013/08/08 18:41:48 UTC

[jira] [Commented] (TRINIDAD-2405) Allow numberConverter to specify roundingmode

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

Jeanne Waldman commented on TRINIDAD-2405:
------------------------------------------

Sending content: C:\Trinidad\trinidad-maven\maven-javascript-plugin\pom.xml  
Sending content: C:\Trinidad\trinidad-maven\maven-javacc-plugin\pom.xml  
Sending content: C:\Trinidad\trinidad-maven\maven-jdev-plugin\pom.xml  
Sending content: C:\Trinidad\trinidad-maven\maven-faces-plugin\src\main\java\org\apache\myfaces\trinidadbuild\plugin\faces\util\ClassLoaderUtils.java  
Sending content: C:\Trinidad\trinidad-maven\maven-faces-plugin\src\main\java\org\apache\myfaces\trinidadbuild\plugin\faces\generator\taglib\AbstractTagGenerator.java  
Sending content: C:\Trinidad\trinidad-maven\maven-i18n-plugin\pom.xml  
Sending content: C:\Trinidad\trinidad-maven\maven-faces-plugin\src\main\java\org\apache\myfaces\trinidadbuild\plugin\faces\generator\taglib\TrinidadConverterTagGenerator.java  
Sending content: C:\Trinidad\trinidad-maven\maven-xrts-plugin\pom.xml  
Sending content: C:\Trinidad\trinidad-maven\pom.xml  
Sending content: C:\Trinidad\trinidad-maven\maven-faces-plugin\pom.xml  
Sending content: C:\Trinidad\trinidad-maven\maven-tagdoc-plugin\pom.xml  
Completed: At revision: 1511859  

                
> 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
>            Priority: Minor
>         Attachments: TrinPlugin_2405_numberConverterRoundingCode.diff, TrinPlugin_2405_numberConverterRoundingPOM.diff, TrinTrunk_2405_numberConverterRounding.diff, TrinTrunk_2405_numberConverterRoundingPOM.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 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