From 96dce060a322e78ccdea7cf66324239eb35acb0a Mon Sep 17 00:00:00 2001 From: John Fitzpatrick Date: Wed, 5 Apr 2000 17:04:30 +0000 Subject: [PATCH] Restored com.ibm.math.BigDecimal support X-SVN-Rev: 1068 --- icu4j/src/com/ibm/icu/text/DecimalFormat.java | 9 ++++----- icu4j/src/com/ibm/text/DecimalFormat.java | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/icu4j/src/com/ibm/icu/text/DecimalFormat.java b/icu4j/src/com/ibm/icu/text/DecimalFormat.java index d9a96e9d7a1..9890577f8dc 100755 --- a/icu4j/src/com/ibm/icu/text/DecimalFormat.java +++ b/icu4j/src/com/ibm/icu/text/DecimalFormat.java @@ -5,8 +5,8 @@ ******************************************************************************* * * $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/DecimalFormat.java,v $ - * $Date: 2000/03/10 04:07:19 $ - * $Revision: 1.3 $ + * $Date: 2000/04/05 17:04:30 $ + * $Revision: 1.4 $ * ***************************************************************************************** */ @@ -641,7 +641,7 @@ public class DecimalFormat extends NumberFormat { /* * NEW * Format a BigDecimal number. - * + */ public StringBuffer format(com.ibm.math.BigDecimal number, StringBuffer result, FieldPosition fieldPosition) { /* This method is just a copy of the corresponding java.math.BigDecimal @@ -649,7 +649,7 @@ public class DecimalFormat extends NumberFormat { * conversion object to do math on the rounding increment. In the * future we may try to clean this up, or even better, limit our support * to just one flavor of BigDecimal. - * + */ if (multiplier != 1) { number = number.multiply(com.ibm.math.BigDecimal.valueOf(multiplier)); } @@ -670,7 +670,6 @@ public class DecimalFormat extends NumberFormat { return subformat(result, fieldPosition, number.signum() < 0, false); } } - */ /** * Complete the formatting of a finite number. On entry, the digitList must diff --git a/icu4j/src/com/ibm/text/DecimalFormat.java b/icu4j/src/com/ibm/text/DecimalFormat.java index a6a791b2edf..7eac81533f7 100755 --- a/icu4j/src/com/ibm/text/DecimalFormat.java +++ b/icu4j/src/com/ibm/text/DecimalFormat.java @@ -5,8 +5,8 @@ ******************************************************************************* * * $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/text/Attic/DecimalFormat.java,v $ - * $Date: 2000/03/10 04:07:19 $ - * $Revision: 1.3 $ + * $Date: 2000/04/05 17:04:30 $ + * $Revision: 1.4 $ * ***************************************************************************************** */ @@ -641,7 +641,7 @@ public class DecimalFormat extends NumberFormat { /* * NEW * Format a BigDecimal number. - * + */ public StringBuffer format(com.ibm.math.BigDecimal number, StringBuffer result, FieldPosition fieldPosition) { /* This method is just a copy of the corresponding java.math.BigDecimal @@ -649,7 +649,7 @@ public class DecimalFormat extends NumberFormat { * conversion object to do math on the rounding increment. In the * future we may try to clean this up, or even better, limit our support * to just one flavor of BigDecimal. - * + */ if (multiplier != 1) { number = number.multiply(com.ibm.math.BigDecimal.valueOf(multiplier)); } @@ -670,7 +670,6 @@ public class DecimalFormat extends NumberFormat { return subformat(result, fieldPosition, number.signum() < 0, false); } } - */ /** * Complete the formatting of a finite number. On entry, the digitList must