JDK-4899722 : Add scaleByPowerOf10 method to BigDecimal
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.math
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-08-01
  • Updated: 2017-05-16
  • Resolved: 2003-08-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 tigerFixed
Related Reports
Relates :  
Relates :  
Description
To avoid compatibilty concerns the jat had with jsr13 changing the representation of numbers returned by movePointLeft and movePointRight, those method's semantics remain (mostly) unchanged.  However, the functionality of those methods (when possible, changing the scale without changing the integer portion) is still needed.  A single scaleByPowerOf10 method can meet those needs; if would be behave similarly to movePointLeft.  (movePoint{Left, Right} both accept negative arguments which move the point in the direction opposite to the method name.)

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b18
14-06-2004

WORK AROUND
11-06-2004

SUGGESTED FIX
11-06-2004

PUBLIC COMMENTS
10-06-2004

EVALUATION A fine solution. ###@###.### 2003-07-31
31-07-2003