History | Log In     View a printable version of the current page.  
HQ 4.0 EE Release is Now Available | HQ 3.2.5-EE Maintenance Release is Now Available
Issue Details (XML | Word | Printable)

Key: HHQ-1163
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Ryan Morgan
Reporter: Ryan Morgan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hyperic HQ

Remove use of BigDecimal(double) usage

Created: 25/Oct/07 07:35 AM   Updated: 25/Oct/07 08:36 AM
Component/s: Server
Affects Version/s: 3.1.1
Fix Version/s: 3.2.0

Verify By: Ryan Morgan
Last comment: 56 weeks, 1 day ago
Resolution Date: 25/Oct/07 08:36 AM


 Description  « Hide

The BigDecimal(double) constructor is used when formatting numbers, this constructor is known to be unpredictable, BigDecimal(String) should be used instead. See the BigDecimal documentation for details.

http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html#BigDecimal(double)

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Ryan Morgan - 25/Oct/07 08:36 AM

Fixed in 3.2.0 #513.