Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F42710C03 for ; Mon, 4 Nov 2013 20:24:18 +0000 (UTC) Received: (qmail 23711 invoked by uid 500); 4 Nov 2013 20:24:18 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 23651 invoked by uid 500); 4 Nov 2013 20:24:18 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 23637 invoked by uid 99); 4 Nov 2013 20:24:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Nov 2013 20:24:17 +0000 Date: Mon, 4 Nov 2013 20:24:17 +0000 (UTC) From: "Scott O'Bryan (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (TRINIDAD-2405) Allow numberConverter to specify roundingmode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TRINIDAD-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott O'Bryan resolved TRINIDAD-2405. ------------------------------------- Resolution: Fixed Fix Version/s: 2.0.8-plugins Assignee: Jeanne Waldman This was never closed even though it was committed > 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 > > 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)