Details
Description
BigDecimal constructor sets instance variables for exponent as:
this.exponent = bigDecimal.scale();
The correct version should be inverted (as it is in the double constructor)
this.exponent = - bigDecimal.scale();
Attachments
Issue Links
- duplicates
-
FAST-36 BigDecimals are not correctly interpreted in DecimalValue constructor
- Resolved